Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.002847, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002529, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09283/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5648/2.505, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.7656 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.598e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.003094/0.00313, allocations: 0.881 MB / 0.7305 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001874/0.003317, allocations: 52.38 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.003384, allocations: 0.6562 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.003427, allocations: 8.562 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.003505, allocations: 9.672 kB / 0.7306 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.295e-05/0.003558, allocations: 18.59 kB / 0.7306 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.00371, allocations: 61.17 kB / 0.7307 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.003845, allocations: 35.95 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.003968, allocations: 47.12 kB / 0.7307 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.004025, allocations: 22.97 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.00405, allocations: 4 kB / 0.7308 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.004061, allocations: 4 kB / 0.7308 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.004087, allocations: 11.94 kB / 0.7308 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.004117, allocations: 15.94 kB / 0.7308 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.004245, allocations: 43.72 kB / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-05/0.004262, allocations: 0 / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004263, allocations: 2.625 kB / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.004281, allocations: 0 / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000483/0.004764, allocations: 288.3 kB / 0.7311 GB, free: 2.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.004808, allocations: 12.03 kB / 0.7311 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.00485, allocations: 12.92 kB / 0.7311 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.005033, allocations: 133.6 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.005047, allocations: 8.859 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.005066, allocations: 12.38 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.005195, allocations: 78.69 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005204, allocations: 192 / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005214, allocations: 4.375 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.005222, allocations: 0.9062 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.005261, allocations: 23.92 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.005745, allocations: 0.498 MB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.005829, allocations: 173.8 kB / 0.732 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.005858, allocations: 84.14 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.005884, allocations: 79.92 kB / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.005931, allocations: 110.5 kB / 0.7323 GB, free: 1.629 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.774e-06/0.005933, allocations: 0 / 0.7323 GB, free: 1.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.109e-05/0.006004, allocations: 30.73 kB / 0.7323 GB, free: 1.594 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.006057, allocations: 130.6 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.006178, allocations: 144.8 kB / 0.7326 GB, free: 1.301 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.006188, allocations: 26.77 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.00626, allocations: 131.7 kB / 0.7327 GB, free: 1.137 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.006263, allocations: 0 / 0.7327 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.006305, allocations: 35.31 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.006404, allocations: 318.8 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.00642, allocations: 7.984 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.006459, allocations: 46.88 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.006538, allocations: 82.09 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006541, allocations: 0 / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.006665, allocations: 75.17 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.006684, allocations: 8.875 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.006692, allocations: 3.984 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.006708, allocations: 5.125 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.006771, allocations: 16 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006776, allocations: 4 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.006816, allocations: 9.688 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.00682, allocations: 0 / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/0.006907, allocations: 197 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.006959, allocations: 109 kB / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.007005, allocations: 114 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.555e-05/0.007071, allocations: 180.3 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.314e-05/0.007124, allocations: 184.2 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.155e-05/0.007175, allocations: 184.2 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.007361, allocations: 330 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/0.007394, allocations: 110 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.007424, allocations: 101 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.007477, allocations: 112.9 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.609e-05/0.007533, allocations: 180.7 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.007589, allocations: 180.3 kB / 0.7352 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-05/0.007643, allocations: 189.4 kB / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.211e-05/0.007695, allocations: 176.5 kB / 0.7356 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.007821, allocations: 315.7 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.007881, allocations: 177.5 kB / 0.736 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.007954, allocations: 108.9 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.008009, allocations: 180.2 kB / 0.7363 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.008044, allocations: 106 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.008084, allocations: 34.55 kB / 0.7365 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.008084, allocations: 0 / 0.7365 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002118/0.008296, allocations: 12.48 kB / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.008426, allocations: 153.2 kB / 0.7366 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.008511, allocations: 34.06 kB / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.008517, allocations: 0 / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-06/0.008522, allocations: 4.438 kB / 0.7367 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.008803, allocations: 476.4 kB / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.009088, allocations: 228.7 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.009129, allocations: 60.28 kB / 0.7374 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.009171, allocations: 6.922 kB / 0.7374 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.009211, allocations: 59.3 kB / 0.7374 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.009211, allocations: 1.25 kB / 0.7374 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.002133/0.01134, allocations: 269.3 kB / 0.7377 GB, free: 11.79 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.006385915912688]