Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 112.9 kB / 16.42 MB, free: 6.449 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.002237/0.002237, allocations: 189.7 kB / 17.35 MB, free: 5.734 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.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9794, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.005032/0.9845, allocations: 2.159 MB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004876/0.9894, allocations: 2.651 MB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.9896, allocations: 3.938 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.9919, allocations: 0.5383 MB / 1.214 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.9924, allocations: 123.3 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.9934, allocations: 238.9 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.994, allocations: 374.2 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.9943, allocations: 69.06 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.9945, allocations: 123.4 kB / 1.215 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.9948, allocations: 143.2 kB / 1.215 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.9949, allocations: 8 kB / 1.215 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.9951, allocations: 67.91 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.9954, allocations: 135.5 kB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.9957, allocations: 234.3 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.9967, allocations: 0.7084 MB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.9967, allocations: 0 / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9967, allocations: 0 / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.9968, allocations: 0 / 1.216 GB, free: 6.062 MB / 0.9356 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.001734/0.9985, allocations: 0.9144 MB / 1.217 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.9986, allocations: 8.031 kB / 1.217 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.9987, allocations: 72.08 kB / 1.217 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.9995, allocations: 456 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.9995, allocations: 4.375 kB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.9996, allocations: 8.125 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.9999, allocations: 100.2 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9999, allocations: 0 / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.9999, allocations: 4 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1, allocations: 3.938 kB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/1, allocations: 43.97 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009802/1.001, allocations: 0.5161 MB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/1.002, allocations: 106.7 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.002, allocations: 32.84 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/1.002, allocations: 4 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/1.002, allocations: 95.34 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/1.002, allocations: 0 / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005966/1.003, allocations: 196.7 kB / 1.218 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.003, allocations: 106.8 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.004, allocations: 0.9149 MB / 1.219 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/1.004, allocations: 29.7 kB / 1.219 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.005, allocations: 316 kB / 1.22 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.005, allocations: 23.8 kB / 1.22 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/1.005, allocations: 21.72 kB / 1.22 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.005, allocations: 317.9 kB / 1.22 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.005, allocations: 27.98 kB / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/1.005, allocations: 76.27 kB / 1.22 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/1.006, allocations: 73.64 kB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.006, allocations: 0 / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004157/1.006, allocations: 172.7 kB / 1.22 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.006, allocations: 4 kB / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.006, allocations: 400 / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.006, allocations: 4 kB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/1.006, allocations: 11.98 kB / 1.22 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.006, allocations: 4 kB / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/1.007, allocations: 11.92 kB / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/1.007, allocations: 8.156 kB / 1.22 GB, free: 1.145 MB / 0.9356 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.0004701/1.007, allocations: 317.7 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.007, allocations: 75.12 kB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/1.007, allocations: 82.39 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.007, allocations: 0 / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.007, allocations: 0 / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.008, allocations: 140.2 kB / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/1.008, allocations: 7.938 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/1.008, allocations: 0 / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/1.008, allocations: 19.92 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003862/1.008, allocations: 180.9 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000515/1.009, allocations: 353.8 kB / 1.221 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001253/1.009, allocations: 35.92 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001214/1.01, allocations: 0.6785 MB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of Backend: time 6.72e-07/1.01, allocations: 4 kB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002272/1.013, allocations: 469.3 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003202/1.016, allocations: 1.71 MB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.0182/1.034, allocations: 6.114 MB / 1.23 GB, free: 7.168 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches