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.33/2.33, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001255/0.001255, allocations: 179.3 kB / 0.4902 GB, free: 2.262 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.648/1.648, allocations: 223.2 MB / 0.7992 GB, free: 15.63 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.001072/0.001072, allocations: 91.97 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 10.62 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.5413, allocations: 158.5 MB / 1.384 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.5417, allocations: 99.94 kB / 1.384 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03355/0.5753, allocations: 13.03 MB / 1.397 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5754, allocations: 0 / 1.397 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.665e-05/0.5754, allocations: 12 kB / 1.397 GB, free: 9.594 MB / 0.9011 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.001171/0.5766, allocations: 0.8526 MB / 1.398 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5766, allocations: 12.56 kB / 1.398 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5767, allocations: 67.11 kB / 1.398 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/0.5776, allocations: 463.5 kB / 1.398 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.5776, allocations: 8 kB / 1.398 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5777, allocations: 4 kB / 1.398 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.5779, allocations: 100.2 kB / 1.398 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5779, allocations: 0 / 1.398 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.5779, allocations: 7.938 kB / 1.398 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.578, allocations: 0 / 1.398 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.5781, allocations: 43.97 kB / 1.398 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.5789, allocations: 0.5356 MB / 1.399 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.5793, allocations: 110.7 kB / 1.399 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.5793, allocations: 0 / 1.399 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.5795, allocations: 87.48 kB / 1.399 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.5795, allocations: 0 / 1.399 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.58, allocations: 196.8 kB / 1.399 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.5801, allocations: 110.8 kB / 1.399 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.581, allocations: 0.785 MB / 1.4 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5811, allocations: 29.7 kB / 1.4 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.5813, allocations: 303.9 kB / 1.4 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.5814, allocations: 23.78 kB / 1.4 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.5814, allocations: 0 / 1.4 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5815, allocations: 317.9 kB / 1.401 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.5816, allocations: 23.98 kB / 1.401 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.5817, allocations: 92.25 kB / 1.401 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.5818, allocations: 31.92 kB / 1.401 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5818, allocations: 0 / 1.401 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002768/0.5821, allocations: 164.8 kB / 1.401 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5821, allocations: 5.406 kB / 1.401 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5822, allocations: 4.031 kB / 1.401 GB, free: 5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5822, allocations: 4 kB / 1.401 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.5823, allocations: 19.92 kB / 1.401 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5823, allocations: 3.953 kB / 1.401 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5824, allocations: 4 kB / 1.401 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.5824, allocations: 7.984 kB / 1.401 GB, free: 4.961 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.5828, allocations: 311.3 kB / 1.401 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.5829, allocations: 67.16 kB / 1.401 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.5832, allocations: 199.5 kB / 1.402 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5833, allocations: 0 / 1.402 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5833, allocations: 0 / 1.402 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5833, allocations: 4 kB / 1.402 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.5837, allocations: 401.4 kB / 1.402 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5837, allocations: 0 / 1.402 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.5837, allocations: 11.98 kB / 1.402 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5838, allocations: 0 / 1.402 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5838, allocations: 0 / 1.402 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5838, allocations: 4 kB / 1.402 GB, free: 3.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5838, allocations: 4 kB / 1.402 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.5841, allocations: 200.6 kB / 1.402 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.5843, allocations: 152.2 kB / 1.402 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.5843, allocations: 4 kB / 1.402 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5844, allocations: 3.984 kB / 1.402 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.5845, allocations: 15.98 kB / 1.402 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5845, allocations: 0 / 1.402 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007705/0.5853, allocations: 0.6512 MB / 1.403 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5853, allocations: 0 / 1.403 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004132/0.5857, allocations: 87.94 kB / 1.403 GB, free: 2.766 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001499/0.5872, allocations: 0.5861 MB / 1.404 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.5875, allocations: 99.86 kB / 1.404 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5875, allocations: 0 / 1.404 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.5877, allocations: 35.98 kB / 1.404 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.5883, allocations: 142.8 kB / 1.404 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.59, allocations: 1.179 MB / 1.405 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5716/1.162, allocations: 0.9879 MB / 1.406 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003535/1.162, allocations: 43.28 kB / 1.406 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/1.162, allocations: 23.83 kB / 1.406 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.503e-06/1.162, allocations: 0 / 1.406 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.01837/1.18, allocations: 6.865 MB / 1.413 GB, free: 166.3 MB / 0.9011 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