Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.445/2.445, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 190.4 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.852/1.852, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.88 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.826e-05, allocations: 9.875 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3378, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.464, allocations: 157.7 MB / 1.366 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.464, allocations: 96.06 kB / 1.366 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02871/1.493, allocations: 12.81 MB / 1.379 GB, free: 32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.334e-06/1.493, allocations: 0 / 1.379 GB, free: 32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.007e-05/1.493, allocations: 15.41 kB / 1.379 GB, free: 31.99 MB / 0.8386 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.0008352/1.494, allocations: 0.6952 MB / 1.38 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.494, allocations: 15.62 kB / 1.38 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/1.494, allocations: 73.86 kB / 1.38 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/1.494, allocations: 466.5 kB / 1.38 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/1.495, allocations: 0 / 1.38 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/1.495, allocations: 3.844 kB / 1.38 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/1.495, allocations: 41.08 kB / 1.38 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.495, allocations: 91.42 kB / 1.38 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.495, allocations: 4 kB / 1.38 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.495, allocations: 0 / 1.38 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/1.495, allocations: 3.844 kB / 1.38 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/1.496, allocations: 0.5007 MB / 1.381 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/1.496, allocations: 97.09 kB / 1.381 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/1.496, allocations: 37.72 kB / 1.381 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/1.496, allocations: 0 / 1.381 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/1.496, allocations: 87.55 kB / 1.381 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/1.496, allocations: 0 / 1.381 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002745/1.496, allocations: 163.7 kB / 1.381 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.496, allocations: 102.8 kB / 1.381 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007779/1.497, allocations: 0.7487 MB / 1.382 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/1.497, allocations: 29.7 kB / 1.382 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/1.497, allocations: 301.2 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/1.497, allocations: 19.16 kB / 1.382 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/1.497, allocations: 3.938 kB / 1.382 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/1.498, allocations: 310 kB / 1.383 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/1.498, allocations: 22.59 kB / 1.383 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/1.498, allocations: 84.11 kB / 1.383 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/1.498, allocations: 35.2 kB / 1.383 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.498, allocations: 0 / 1.383 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001734/1.498, allocations: 157.5 kB / 1.383 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.498, allocations: 7.688 kB / 1.383 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.498, allocations: 0 / 1.383 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.498, allocations: 0 / 1.383 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/1.498, allocations: 19.11 kB / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.498, allocations: 0 / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.498, allocations: 19.61 kB / 1.383 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/1.498, allocations: 7.969 kB / 1.383 GB, free: 29.66 MB / 0.8386 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/1.498, allocations: 113.6 kB / 1.383 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/1.498, allocations: 62.44 kB / 1.383 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/1.499, allocations: 169.1 kB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.499, allocations: 7.891 kB / 1.383 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/1.499, allocations: 0 / 1.383 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.499, allocations: 0 / 1.383 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/1.499, allocations: 379 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.499, allocations: 0 / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/1.499, allocations: 11.67 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.499, allocations: 0 / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.499, allocations: 3.938 kB / 1.384 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.499, allocations: 3.844 kB / 1.384 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.499, allocations: 0 / 1.384 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/1.499, allocations: 186.3 kB / 1.384 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/1.499, allocations: 154 kB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/1.5, allocations: 3.844 kB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.5, allocations: 3.906 kB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/1.5, allocations: 7.797 kB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/1.5, allocations: 7.656 kB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006363/1.5, allocations: 0.6068 MB / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.5, allocations: 0 / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003449/1.501, allocations: 79.78 kB / 1.385 GB, free: 28.77 MB / 0.8386 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,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/1.502, allocations: 0.5121 MB / 1.385 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001839/1.502, allocations: 80.38 kB / 1.385 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.502, allocations: 0 / 1.385 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/1.502, allocations: 39.39 kB / 1.385 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/1.503, allocations: 149.8 kB / 1.385 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.504, allocations: 0.8577 MB / 1.386 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.504, allocations: 0.9953 MB / 1.387 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001452/1.505, allocations: 44.12 kB / 1.387 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/1.505, allocations: 26.89 kB / 1.387 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.505, allocations: 0 / 1.387 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.01011/1.515, allocations: 5.725 MB / 1.393 GB, free: 24.43 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches