Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00169/0.00169, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002395/0.002395, allocations: 211.3 kB / 22.24 MB, free: 4.855 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: 8.066 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.611/3.611, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_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_12_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.002202/0.002202, allocations: 68.59 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4469, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00518/0.4521, allocations: 2.118 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00479/0.4569, allocations: 2.527 MB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.4572, allocations: 8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.459, allocations: 497.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.4597, allocations: 167.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.4605, allocations: 209.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007793/0.4613, allocations: 389.4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.4615, allocations: 29.22 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.4618, allocations: 135.4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.4622, allocations: 155.1 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.4623, allocations: 8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.4626, allocations: 75.88 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.4628, allocations: 131.5 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.4631, allocations: 154.7 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4643, allocations: 0.7429 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4643, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4643, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.4644, allocations: 0 / 1.333 GB, free: 10.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.002152/0.4665, allocations: 0.8624 MB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4666, allocations: 8.031 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.4668, allocations: 76.42 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.4676, allocations: 402.8 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.4676, allocations: 4.375 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4676, allocations: 8.125 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.4679, allocations: 146.8 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.468, allocations: 0 / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.468, allocations: 4 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.468, allocations: 0 / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.4681, allocations: 47.91 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4693, allocations: 472.2 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.4697, allocations: 102.7 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.4698, allocations: 28.84 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4698, allocations: 8 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.4701, allocations: 113.1 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.4701, allocations: 0 / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006322/0.4707, allocations: 209.1 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.4708, allocations: 81.11 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4722, allocations: 0.9267 MB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4723, allocations: 25.7 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.4726, allocations: 324 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.4727, allocations: 27.81 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.4727, allocations: 21.72 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4729, allocations: 317.9 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.4729, allocations: 31.97 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4731, allocations: 126.8 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.4733, allocations: 73.62 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4733, allocations: 0 / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003419/0.4736, allocations: 169.2 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4736, allocations: 8 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4736, allocations: 0 / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4736, allocations: 8 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.4737, allocations: 19.94 kB / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4738, allocations: 0 / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.4739, allocations: 11.94 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.4739, allocations: 4 kB / 1.337 GB, free: 5.68 MB / 1.029 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.0004098/0.4743, allocations: 326.1 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4744, allocations: 71.53 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.4749, allocations: 196 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4749, allocations: 0 / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4749, allocations: 4 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4749, allocations: 0 / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.4753, allocations: 337 kB / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4753, allocations: 0 / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.4753, allocations: 8 kB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4753, allocations: 0 / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4754, allocations: 7.984 kB / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4754, allocations: 0 / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4754, allocations: 0 / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.4757, allocations: 212.5 kB / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.4759, allocations: 59.53 kB / 1.338 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.476, allocations: 11.98 kB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4761, allocations: 4 kB / 1.338 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.4762, allocations: 11.98 kB / 1.338 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4762, allocations: 4 kB / 1.338 GB, free: 4.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001043/0.4773, allocations: 0.6864 MB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4773, allocations: 0 / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003426/0.4776, allocations: 67.88 kB / 1.339 GB, free: 3.633 MB / 1.029 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.001891/0.4795, allocations: 446.7 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.4798, allocations: 83.84 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4798, allocations: 0 / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4799, allocations: 43.95 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007804/0.4807, allocations: 167.1 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.4829, allocations: 1.159 MB / 1.341 GB, free: 1.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.4835, allocations: 399.6 kB / 1.341 GB, free: 1.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.4837, allocations: 46.95 kB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.4837, allocations: 27.42 kB / 1.341 GB, free: 1.406 MB / 1.029 GB Notification: Performance of SimCode: time 1.833e-06/0.4837, allocations: 4 kB / 1.341 GB, free: 1.402 MB / 1.029 GB Notification: Performance of Templates: time 0.0165/0.5002, allocations: 7.172 MB / 1.348 GB, free: 10.39 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.515588127076626]