Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00152/0.00152, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001696/0.001696, allocations: 205.1 kB / 23 MB, free: 4.934 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.571/3.571, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_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_12_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.002048/0.002048, allocations: 61.47 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4384, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004347/0.4428, allocations: 2.027 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004181/0.447, allocations: 2.363 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.4471, allocations: 3.938 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4486, allocations: 465.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.4488, allocations: 63.59 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009574/0.4497, allocations: 291.2 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000442/0.4502, allocations: 316.2 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.4503, allocations: 45.2 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.4505, allocations: 111.4 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.4507, allocations: 147.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.4507, allocations: 8 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006126/0.4513, allocations: 351.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.4515, allocations: 111.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.4516, allocations: 146.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009945/0.4526, allocations: 0.8288 MB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4526, allocations: 0 / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4527, allocations: 0 / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.4527, allocations: 0 / 1.334 GB, free: 9.648 MB / 1.029 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.001352/0.454, allocations: 0.8275 MB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4541, allocations: 8.031 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.4542, allocations: 68.52 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.4547, allocations: 331.1 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.4548, allocations: 8.375 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4548, allocations: 4.375 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.4551, allocations: 163.6 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4551, allocations: 0 / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.4551, allocations: 8 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4551, allocations: 3.938 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.4553, allocations: 125.6 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.4562, allocations: 472.1 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.4564, allocations: 136.2 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4565, allocations: 82.64 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.4566, allocations: 7.938 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.4568, allocations: 166.9 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.4568, allocations: 0 / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005938/0.4574, allocations: 366.4 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.4575, allocations: 93.03 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.4585, allocations: 0.7543 MB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.4585, allocations: 25.7 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.4588, allocations: 303.9 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.4588, allocations: 27.78 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.4589, allocations: 29.7 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4591, allocations: 313.9 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4592, allocations: 77.67 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.4593, allocations: 81.67 kB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4595, allocations: 160.2 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4595, allocations: 0 / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003827/0.4599, allocations: 312.8 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4599, allocations: 41.62 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4599, allocations: 0 / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4599, allocations: 4 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.46, allocations: 12 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.46, allocations: 4.141 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4602, allocations: 7.953 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4602, allocations: 7.984 kB / 1.339 GB, free: 4.395 MB / 1.029 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.0003689/0.4605, allocations: 336.9 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.4606, allocations: 75.5 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.4611, allocations: 322.5 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4611, allocations: 3.984 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4611, allocations: 8 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4612, allocations: 59.61 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.4613, allocations: 0 / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4614, allocations: 8.125 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4614, allocations: 11.92 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004578/0.4619, allocations: 407.6 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004767/0.4624, allocations: 497.6 kB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001229/0.4625, allocations: 85.67 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007628/0.4633, allocations: 0.5614 MB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of Backend: time 4.9e-07/0.4633, allocations: 0 / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009498/0.4642, allocations: 329.2 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of SimCode: time 0.00232/0.4665, allocations: 1.666 MB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of Templates: time 0.01342/0.48, allocations: 6.544 MB / 1.35 GB, free: 9.461 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.199568066003849]