Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.3 MB / 261.9 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001127, allocations: 184.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009528/0.0009528, allocations: 88.36 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.141e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1927, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.477/5.67, allocations: 2.174 GB / 3.065 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/5.67, allocations: 101.6 kB / 3.066 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05465/5.725, allocations: 28.31 MB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.735e-06/5.725, allocations: 4.219 kB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.001e-05/5.725, allocations: 0 / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005687/5.725, allocations: 414.2 kB / 3.094 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/5.725, allocations: 12.03 kB / 3.094 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/5.727, allocations: 159.7 kB / 3.094 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/5.727, allocations: 174.9 kB / 3.094 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/5.727, allocations: 33.7 kB / 3.094 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/5.727, allocations: 8 kB / 3.094 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/5.727, allocations: 106.4 kB / 3.094 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/5.727, allocations: 0 / 3.094 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/5.727, allocations: 0 / 3.094 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/5.727, allocations: 11.94 kB / 3.094 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/5.727, allocations: 72 kB / 3.094 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/5.728, allocations: 434.3 kB / 3.095 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/5.728, allocations: 70.56 kB / 3.095 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/5.729, allocations: 40.98 kB / 3.095 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/5.729, allocations: 0 / 3.095 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/5.729, allocations: 30.56 kB / 3.095 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/5.729, allocations: 0 / 3.095 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0003562/5.729, allocations: 105.5 kB / 3.095 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/5.729, allocations: 51.41 kB / 3.095 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/5.729, allocations: 138.9 kB / 3.095 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/5.729, allocations: 29.7 kB / 3.095 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/5.729, allocations: 100.1 kB / 3.095 GB, free: 166 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/5.729, allocations: 11.81 kB / 3.095 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/5.729, allocations: 0 / 3.095 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/5.729, allocations: 326.8 kB / 3.095 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/5.729, allocations: 28 kB / 3.095 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/5.729, allocations: 28 kB / 3.095 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.931e-05/5.729, allocations: 28.17 kB / 3.095 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/5.73, allocations: 4 kB / 3.095 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001799/5.73, allocations: 97.53 kB / 3.096 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/5.73, allocations: 11.94 kB / 3.096 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/5.73, allocations: 0 / 3.096 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/5.73, allocations: 0 / 3.096 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/5.73, allocations: 51.94 kB / 3.096 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/5.73, allocations: 0 / 3.096 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/5.73, allocations: 47.78 kB / 3.096 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/5.73, allocations: 4 kB / 3.096 GB, free: 165.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.197e-05/5.73, allocations: 112.9 kB / 3.096 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/5.73, allocations: 7.906 kB / 3.096 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/5.73, allocations: 16.56 kB / 3.096 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/5.73, allocations: 0 / 3.096 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/5.731, allocations: 0 / 3.096 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/5.731, allocations: 3.984 kB / 3.096 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/5.731, allocations: 213.5 kB / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/5.731, allocations: 0 / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/5.731, allocations: 47.89 kB / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/5.731, allocations: 0 / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/5.731, allocations: 4 kB / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/5.731, allocations: 0 / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/5.731, allocations: 4 kB / 3.096 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/5.731, allocations: 195.4 kB / 3.096 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/5.731, allocations: 85.02 kB / 3.096 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/5.731, allocations: 4 kB / 3.096 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/5.732, allocations: 39.95 kB / 3.096 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/5.732, allocations: 7.984 kB / 3.096 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/5.732, allocations: 128 / 3.096 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.432e-05/5.732, allocations: 115.7 kB / 3.097 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.732, allocations: 0 / 3.097 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000364/5.732, allocations: 48 kB / 3.097 GB, free: 164.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0007751/5.733, allocations: 0.5645 MB / 3.097 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002094/5.733, allocations: 71.98 kB / 3.097 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/5.733, allocations: 0 / 3.097 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/5.733, allocations: 39.94 kB / 3.097 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/5.733, allocations: 23.86 kB / 3.097 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/5.734, allocations: 205.3 kB / 3.097 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/5.735, allocations: 0.6926 MB / 3.098 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001533/5.735, allocations: 23.98 kB / 3.098 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/5.735, allocations: 11.44 kB / 3.098 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/5.735, allocations: 0 / 3.098 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01305/5.748, allocations: 10.14 MB / 3.108 GB, free: 152.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches