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.008524/0.008525, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.002158/0.002158, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 59.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3932, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003848/0.3971, allocations: 2.16 MB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003731/0.4009, allocations: 2.651 MB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.401, allocations: 4 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.4024, allocations: 0.5367 MB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.4027, allocations: 119.4 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.4035, allocations: 233.8 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.4039, allocations: 384.4 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.4041, allocations: 69.08 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.4042, allocations: 131.3 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.4044, allocations: 147.2 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.4045, allocations: 8 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.4047, allocations: 55.97 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.4049, allocations: 135.4 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.4051, allocations: 230.4 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.4058, allocations: 0.7201 MB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4058, allocations: 0 / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4058, allocations: 4 kB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.4058, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.9669 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.001257/0.4071, allocations: 0.9066 MB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4071, allocations: 8.031 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.4072, allocations: 68.09 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.4078, allocations: 452 kB / 1.217 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4079, allocations: 8.375 kB / 1.217 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.4079, allocations: 12.11 kB / 1.217 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.4081, allocations: 104.2 kB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.4081, allocations: 0 / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4081, allocations: 4 kB / 1.217 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4081, allocations: 0 / 1.217 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.4083, allocations: 39.98 kB / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007655/0.4091, allocations: 0.5238 MB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.4096, allocations: 106.6 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.4097, allocations: 36.78 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.4097, allocations: 3.984 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.4099, allocations: 87.41 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.4099, allocations: 4 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004073/0.4103, allocations: 192.8 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.4104, allocations: 102.8 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.4115, allocations: 0.9188 MB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4115, allocations: 29.7 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.4119, allocations: 312.1 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.4119, allocations: 23.66 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.412, allocations: 25.7 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4122, allocations: 317.9 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.4123, allocations: 27.98 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4124, allocations: 80.2 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.4126, allocations: 73.67 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4126, allocations: 4 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002581/0.4129, allocations: 168.8 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4129, allocations: 5.562 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4129, allocations: 0 / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4129, allocations: 0 / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.413, allocations: 15.98 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.413, allocations: 4 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4131, allocations: 3.938 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.4132, allocations: 4 kB / 1.22 GB, free: 13.12 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.0003349/0.4135, allocations: 329.6 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.4136, allocations: 67.16 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.4137, allocations: 78.41 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4137, allocations: 0 / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4137, allocations: 0 / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4137, allocations: 3.938 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.4141, allocations: 397.3 kB / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4141, allocations: 0 / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.4142, allocations: 7.938 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4142, allocations: 0 / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4142, allocations: 11.98 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4142, allocations: 4 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4142, allocations: 0 / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4145, allocations: 204.5 kB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4146, allocations: 136.2 kB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.4147, allocations: 0 / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.4148, allocations: 11.98 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.4149, allocations: 7.984 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.4149, allocations: 11.94 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007769/0.4157, allocations: 0.6824 MB / 1.222 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4157, allocations: 0 / 1.222 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002858/0.416, allocations: 60 kB / 1.222 GB, free: 11.04 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.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.001019/0.417, allocations: 418.5 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.4173, allocations: 79.89 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4173, allocations: 4.062 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.4174, allocations: 35.92 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.418, allocations: 168.8 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4197, allocations: 1.132 MB / 1.223 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.4204, allocations: 0.9902 MB / 1.224 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.4206, allocations: 47.27 kB / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4207, allocations: 27.42 kB / 1.224 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.4207, allocations: 4 kB / 1.224 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.01233/0.4331, allocations: 6.172 MB / 1.23 GB, free: 2.18 MB / 0.9825 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/jenkins/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