Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001678/0.001678, 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.001733/0.001733, allocations: 211.6 kB / 22.25 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.605/1.605, 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.586/3.586, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [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.00213/0.00213, allocations: 63.08 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5397, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004561/0.5442, allocations: 2.018 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.5484, allocations: 2.367 MB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.5485, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.5499, allocations: 457.9 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.55, allocations: 63.59 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.551, allocations: 283.3 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.5515, allocations: 324.5 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.5517, allocations: 45.2 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.5518, allocations: 119.4 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.5521, allocations: 131.2 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.5521, allocations: 8 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.5527, allocations: 327.5 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.5529, allocations: 123.5 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.553, allocations: 146.8 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.5541, allocations: 0.8249 MB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5541, allocations: 0 / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5541, allocations: 4 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.5541, allocations: 0 / 1.371 GB, free: 6.348 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001309/0.5555, allocations: 0.8197 MB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5555, allocations: 8.031 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.5556, allocations: 72.47 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.5562, allocations: 327.2 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.5562, allocations: 16.28 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.5563, allocations: 16.36 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.5566, allocations: 159.6 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5566, allocations: 0 / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5566, allocations: 0 / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.5566, allocations: 4 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.5568, allocations: 131.8 kB / 1.372 GB, free: 4.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.5576, allocations: 464.1 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.5579, allocations: 132.2 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.558, allocations: 82.67 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.558, allocations: 8 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.5583, allocations: 170.8 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.5583, allocations: 0 / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005848/0.5589, allocations: 374.6 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.5589, allocations: 81.09 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.56, allocations: 0.7582 MB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.56, allocations: 29.7 kB / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.5603, allocations: 299.9 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.5604, allocations: 27.75 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.5605, allocations: 29.7 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.5607, allocations: 314 kB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.5608, allocations: 77.67 kB / 1.375 GB, free: 1.766 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.561, allocations: 81.61 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.5612, allocations: 168.1 kB / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5612, allocations: 0 / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000411/0.5616, allocations: 300.7 kB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/0.5617, allocations: 45.62 kB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5617, allocations: 80 / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.5617, allocations: 0 / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.5618, allocations: 8 kB / 1.376 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5618, allocations: 3.984 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.562, allocations: 19.92 kB / 1.376 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.562, allocations: 4 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0004442/0.5624, allocations: 342.2 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.5625, allocations: 67.52 kB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.563, allocations: 334.3 kB / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5631, allocations: 0 / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5631, allocations: 0 / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5631, allocations: 128 / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.5635, allocations: 317.1 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.5635, allocations: 0 / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.5635, allocations: 11.94 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5635, allocations: 4 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5635, allocations: 3.938 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5635, allocations: 0 / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5635, allocations: 4 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.564, allocations: 344 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.5642, allocations: 75.48 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.5642, allocations: 7.938 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5643, allocations: 4 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.5644, allocations: 11.98 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5644, allocations: 8 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007611/0.5651, allocations: 0.5575 MB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5651, allocations: 0 / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004863/0.5656, allocations: 127.8 kB / 1.378 GB, free: 14.82 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0004144/0.566, allocations: 187 kB / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.5664, allocations: 246.7 kB / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5664, allocations: 0 / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.5666, allocations: 145.1 kB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.5672, allocations: 125.4 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.569, allocations: 1.125 MB / 1.38 GB, free: 12.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.5695, allocations: 378.5 kB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.863e-05/0.5696, allocations: 25.94 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.5697, allocations: 15.44 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.5697, allocations: 0 / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of Templates: time 0.01406/0.5837, allocations: 6.303 MB / 1.386 GB, free: 6.297 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.454407578334212]