Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.00175/0.00175, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001973/0.001973, allocations: 209 kB / 22.24 MB, free: 5.262 MB / 14.72 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.611/3.611, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 71.27 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.554, allocations: 181.9 MB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004812/0.5588, allocations: 2.136 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.5631, allocations: 2.531 MB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.5633, allocations: 4 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.5651, allocations: 493.7 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.5656, allocations: 167.2 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.5663, allocations: 205.8 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.5669, allocations: 390.2 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.567, allocations: 29.27 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.5672, allocations: 131.4 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.5675, allocations: 159.1 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.5675, allocations: 8 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.5677, allocations: 75.94 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.5679, allocations: 135.4 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.5681, allocations: 158.7 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.569, allocations: 0.7235 MB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.569, allocations: 4 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/0.569, allocations: 0 / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.5691, allocations: 0 / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001596/0.5707, allocations: 0.8719 MB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5707, allocations: 8.031 kB / 1.372 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.5708, allocations: 72.47 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.5715, allocations: 398.9 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5715, allocations: 4.375 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.5715, allocations: 12.12 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.5718, allocations: 146.7 kB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5718, allocations: 0 / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.5718, allocations: 4 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5718, allocations: 0 / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.572, allocations: 43.97 kB / 1.373 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.5727, allocations: 472.2 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.5731, allocations: 98.66 kB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.5732, allocations: 32.83 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.5732, allocations: 11.98 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.5735, allocations: 117 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.5735, allocations: 0 / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004933/0.574, allocations: 201.1 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.574, allocations: 85.09 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.5753, allocations: 0.9267 MB / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.5753, allocations: 29.7 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.5757, allocations: 328 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.5757, allocations: 19.8 kB / 1.375 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.5757, allocations: 29.7 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5759, allocations: 313.9 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.576, allocations: 27.98 kB / 1.375 GB, free: 1.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.5762, allocations: 122.8 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.5763, allocations: 77.69 kB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.5763, allocations: 0 / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002859/0.5766, allocations: 169.1 kB / 1.375 GB, free: 1.582 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5766, allocations: 8 kB / 1.375 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5766, allocations: 0 / 1.375 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5767, allocations: 4.062 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.5767, allocations: 19.98 kB / 1.375 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5768, allocations: 0 / 1.375 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5769, allocations: 8 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5769, allocations: 4 kB / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.000362/0.5773, allocations: 325.5 kB / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.5773, allocations: 71.53 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.5777, allocations: 192.4 kB / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5777, allocations: 0 / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.5777, allocations: 7.984 kB / 1.376 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5778, allocations: 0 / 1.376 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.5782, allocations: 333 kB / 1.376 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5782, allocations: 0 / 1.376 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.5782, allocations: 15.92 kB / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5782, allocations: 0 / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.5782, allocations: 0 / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5782, allocations: 0 / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5782, allocations: 0 / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.5786, allocations: 216.6 kB / 1.377 GB, free: 340 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.5787, allocations: 71.64 kB / 1.377 GB, free: 268 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.5787, allocations: 4 kB / 1.377 GB, free: 264 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5789, allocations: 11.94 kB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.5789, allocations: 11.97 kB / 1.377 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.5789, allocations: 4 kB / 1.377 GB, free: 236 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008699/0.5798, allocations: 0.6864 MB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5798, allocations: 3.938 kB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003048/0.5801, allocations: 59.94 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001778/0.5819, allocations: 447.6 kB / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.5822, allocations: 83.88 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5822, allocations: 7.938 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.5823, allocations: 35.92 kB / 1.378 GB, free: 15.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.583, allocations: 167.4 kB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.5849, allocations: 1.155 MB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.5853, allocations: 395.7 kB / 1.38 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.5855, allocations: 47.27 kB / 1.38 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.5856, allocations: 27.44 kB / 1.38 GB, free: 13.27 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.5856, allocations: 0 / 1.38 GB, free: 13.27 MB / 1.076 GB Notification: Performance of Templates: time 0.01457/0.6001, allocations: 7.18 MB / 1.387 GB, free: 6.246 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.667207568883896]