Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 110.9 kB / 16.41 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 189.6 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.88 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9527/0.9541, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003618/0.9577, allocations: 2.096 MB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.9611, allocations: 2.547 MB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.9614, allocations: 6.188 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.9631, allocations: 0.4957 MB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.9634, allocations: 114.1 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.9643, allocations: 238.5 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.9648, allocations: 359.6 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.965, allocations: 63.98 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.9652, allocations: 121.8 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.9654, allocations: 143.2 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.9655, allocations: 8.125 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.9657, allocations: 65 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.9659, allocations: 131.1 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.9661, allocations: 219.6 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009577/0.9671, allocations: 0.6713 MB / 1.096 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9671, allocations: 1.094 kB / 1.096 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9671, allocations: 0 / 1.096 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.9671, allocations: 0 / 1.096 GB, free: 1.141 MB / 0.8575 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.00117/0.9683, allocations: 0.8763 MB / 1.097 GB, free: 432 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9683, allocations: 9.094 kB / 1.097 GB, free: 432 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.9684, allocations: 62.92 kB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.9689, allocations: 449 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.9689, allocations: 6.031 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.969, allocations: 3.656 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.9692, allocations: 100.3 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9692, allocations: 4.703 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.9693, allocations: 1.25 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.9693, allocations: 4.688 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.9694, allocations: 42.22 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.9703, allocations: 0.5101 MB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.9707, allocations: 106 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.9708, allocations: 33.8 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.9709, allocations: 4.969 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.9711, allocations: 87.28 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 2.965e-06/0.9711, allocations: 3.984 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004513/0.9715, allocations: 193.9 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.9716, allocations: 109.2 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.9729, allocations: 0.8882 MB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.9729, allocations: 30.58 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.9732, allocations: 296.5 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.9732, allocations: 16.83 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.9733, allocations: 28.62 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9734, allocations: 308.4 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.9735, allocations: 26.84 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.9736, allocations: 80.3 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.9738, allocations: 68.38 kB / 1.1 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9738, allocations: 0 / 1.1 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002986/0.9741, allocations: 168.9 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9741, allocations: 9.891 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9741, allocations: 0 / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.9742, allocations: 1.969 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.9743, allocations: 18.06 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9743, allocations: 8.969 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.9744, allocations: 14.52 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.9744, allocations: 2.453 kB / 1.1 GB, free: 14.05 MB / 0.8731 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.0003709/0.9748, allocations: 312.8 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.9749, allocations: 68.88 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.975, allocations: 74.12 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9751, allocations: 6.312 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.9751, allocations: 0 / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.9751, allocations: 0.6562 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.9756, allocations: 383.3 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9756, allocations: 1.156 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.9756, allocations: 7.047 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.9757, allocations: 5.438 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.9757, allocations: 1.359 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.9757, allocations: 4.562 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9757, allocations: 1.953 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.976, allocations: 193.4 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.9762, allocations: 132.9 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.9762, allocations: 6.688 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.9764, allocations: 8.312 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.9764, allocations: 15.72 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.9765, allocations: 3.703 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009623/0.9774, allocations: 0.6531 MB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9774, allocations: 0 / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003445/0.9778, allocations: 54.75 kB / 1.102 GB, free: 13.02 MB / 0.8731 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.001096/0.9789, allocations: 438.3 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.9791, allocations: 66.92 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9792, allocations: 3.938 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.9793, allocations: 38.05 kB / 1.103 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.98, allocations: 146 kB / 1.103 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.9821, allocations: 1.152 MB / 1.104 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.9828, allocations: 0.983 MB / 1.105 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.9829, allocations: 28.19 kB / 1.105 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.9829, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of Templates: time 0.01488/0.9978, allocations: 6.702 MB / 1.111 GB, free: 10.55 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches