Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 199.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.004/3.004, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 67.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8575, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004242/0.8617, allocations: 2.185 MB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004011/0.8657, allocations: 2.682 MB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.8659, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.8673, allocations: 0.5432 MB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.8676, allocations: 127.3 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.8683, allocations: 240.2 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.8688, allocations: 373 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8689, allocations: 25.09 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.8691, allocations: 131.3 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.8693, allocations: 159.2 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.8694, allocations: 8 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.8696, allocations: 63.95 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.8697, allocations: 139.4 kB / 1.281 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.87, allocations: 226.4 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.8709, allocations: 0.7157 MB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8709, allocations: 4 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8709, allocations: 0 / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.8709, allocations: 0 / 1.281 GB, free: 12.92 MB / 0.9825 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.001697/0.8726, allocations: 0.9377 MB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8726, allocations: 8.031 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.8727, allocations: 72.47 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.8734, allocations: 460.8 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8734, allocations: 4.375 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.8734, allocations: 12.11 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.8737, allocations: 96.17 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8737, allocations: 4 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.8737, allocations: 0 / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.8737, allocations: 7.984 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.8738, allocations: 39.97 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.8747, allocations: 0.5278 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.8752, allocations: 90.66 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.8752, allocations: 40.92 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.8753, allocations: 3.938 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.8755, allocations: 87.33 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.8755, allocations: 0 / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004602/0.876, allocations: 193.2 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.876, allocations: 106.8 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.8773, allocations: 0.9227 MB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.8773, allocations: 37.58 kB / 1.285 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.8777, allocations: 316 kB / 1.285 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.8777, allocations: 15.86 kB / 1.285 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.8778, allocations: 33.64 kB / 1.285 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8779, allocations: 309.9 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.878, allocations: 27.98 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.8781, allocations: 76.27 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.8783, allocations: 73.64 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8783, allocations: 4 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003035/0.8786, allocations: 173.5 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8786, allocations: 5.406 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8786, allocations: 0 / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.8786, allocations: 4.031 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.8787, allocations: 15.94 kB / 1.286 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.8787, allocations: 8.062 kB / 1.286 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.8789, allocations: 15.86 kB / 1.286 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.8789, allocations: 4 kB / 1.286 GB, free: 7.961 MB / 0.9825 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.0003837/0.8793, allocations: 318.5 kB / 1.286 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.8793, allocations: 75.52 kB / 1.286 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.8798, allocations: 184.1 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8798, allocations: 3.938 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8798, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8798, allocations: 3.938 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.8803, allocations: 393.4 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8803, allocations: 0 / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.8803, allocations: 4 kB / 1.287 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8803, allocations: 0 / 1.287 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.8804, allocations: 4 kB / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8804, allocations: 3.984 kB / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8804, allocations: 0 / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.8807, allocations: 204.6 kB / 1.287 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.8808, allocations: 140.6 kB / 1.287 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.8809, allocations: 0 / 1.287 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.881, allocations: 11.98 kB / 1.287 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.8811, allocations: 4 kB / 1.287 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/0.8811, allocations: 15.86 kB / 1.287 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008374/0.882, allocations: 0.6787 MB / 1.288 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.882, allocations: 4 kB / 1.288 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000312/0.8823, allocations: 67.86 kB / 1.288 GB, free: 5.766 MB / 0.9825 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 (7): * Single equations (assignments): 5 * 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.001628/0.8839, allocations: 424.4 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.8842, allocations: 67.95 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8842, allocations: 0 / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.8843, allocations: 35.92 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.885, allocations: 179 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.8867, allocations: 1.158 MB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.8876, allocations: 0.9901 MB / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.8877, allocations: 47.27 kB / 1.291 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.8878, allocations: 31.42 kB / 1.291 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8878, allocations: 0 / 1.291 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.01255/0.9003, allocations: 6.129 MB / 1.297 GB, free: 12.95 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.098563629668206]