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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 179.2 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008248/0.0008248, allocations: 89.56 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 9.469 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.893/4.075, allocations: 2.174 GB / 3.074 GB, free: 47.95 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/4.075, allocations: 95.92 kB / 3.074 GB, free: 47.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05363/4.129, allocations: 28.38 MB / 3.102 GB, free: 19.23 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.383e-06/4.129, allocations: 0 / 3.102 GB, free: 19.23 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.292e-06/4.129, allocations: 0 / 3.102 GB, free: 19.23 MB / 0.8855 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.0004739/4.129, allocations: 426.9 kB / 3.102 GB, free: 18.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/4.129, allocations: 12.03 kB / 3.102 GB, free: 18.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/4.13, allocations: 159.7 kB / 3.102 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/4.13, allocations: 175 kB / 3.102 GB, free: 18.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/4.13, allocations: 37.69 kB / 3.102 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/4.13, allocations: 4 kB / 3.102 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/4.131, allocations: 162.1 kB / 3.103 GB, free: 18.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/4.131, allocations: 0 / 3.103 GB, free: 18.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/4.131, allocations: 8 kB / 3.103 GB, free: 18.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/4.131, allocations: 7.953 kB / 3.103 GB, free: 18.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/4.132, allocations: 219.8 kB / 3.103 GB, free: 17.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/4.132, allocations: 438.1 kB / 3.103 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/4.133, allocations: 142.4 kB / 3.103 GB, free: 17.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/4.133, allocations: 0 / 3.103 GB, free: 17.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/4.133, allocations: 38.69 kB / 3.103 GB, free: 17.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/4.133, allocations: 0 / 3.103 GB, free: 17.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.001225/4.134, allocations: 337.3 kB / 3.104 GB, free: 16.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/4.134, allocations: 55.41 kB / 3.104 GB, free: 16.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/4.134, allocations: 127.7 kB / 3.104 GB, free: 16.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/4.134, allocations: 29.7 kB / 3.104 GB, free: 16.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/4.134, allocations: 101.6 kB / 3.104 GB, free: 16.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/4.134, allocations: 19.81 kB / 3.104 GB, free: 16.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/4.134, allocations: 0 / 3.104 GB, free: 16.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/4.134, allocations: 330.7 kB / 3.104 GB, free: 16.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/4.135, allocations: 103.9 kB / 3.104 GB, free: 16.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/4.135, allocations: 95.92 kB / 3.105 GB, free: 16.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/4.136, allocations: 91.92 kB / 3.105 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/4.136, allocations: 4 kB / 3.105 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007264/4.136, allocations: 237.8 kB / 3.105 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/4.136, allocations: 6.5 kB / 3.105 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/4.136, allocations: 8.062 kB / 3.105 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/4.136, allocations: 0 / 3.105 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/4.137, allocations: 43.95 kB / 3.105 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/4.137, allocations: 0 / 3.105 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/4.137, allocations: 47.86 kB / 3.105 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/4.137, allocations: 4 kB / 3.105 GB, free: 15.62 MB / 0.8855 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 () * Number of clocked 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 7.49e-05/4.137, allocations: 117.7 kB / 3.105 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/4.137, allocations: 11.89 kB / 3.105 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/4.137, allocations: 12.72 kB / 3.105 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/4.137, allocations: 0 / 3.105 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/4.137, allocations: 0 / 3.105 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/4.137, allocations: 11.92 kB / 3.105 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/4.137, allocations: 217.5 kB / 3.105 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/4.137, allocations: 0 / 3.105 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/4.138, allocations: 43.95 kB / 3.105 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/4.138, allocations: 0 / 3.105 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/4.138, allocations: 8 kB / 3.105 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/4.138, allocations: 0 / 3.105 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/4.138, allocations: 0 / 3.105 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/4.138, allocations: 339.2 kB / 3.106 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/4.138, allocations: 85.02 kB / 3.106 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/4.138, allocations: 8 kB / 3.106 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/4.139, allocations: 27.97 kB / 3.106 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/4.139, allocations: 7.984 kB / 3.106 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/4.139, allocations: 8 kB / 3.106 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.058e-05/4.139, allocations: 113 kB / 3.106 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/4.139, allocations: 0 / 3.106 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003349/4.139, allocations: 51.98 kB / 3.106 GB, free: 14.49 MB / 0.8855 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 () * Number of clocked 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.0005653/4.14, allocations: 0.5535 MB / 3.106 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007751/4.141, allocations: 215.8 kB / 3.107 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/4.141, allocations: 0 / 3.107 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/4.141, allocations: 115.8 kB / 3.107 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/4.141, allocations: 18.02 kB / 3.107 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/4.142, allocations: 310.9 kB / 3.107 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/4.142, allocations: 0.7043 MB / 3.108 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001434/4.143, allocations: 15.98 kB / 3.108 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/4.143, allocations: 11.44 kB / 3.108 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/4.143, allocations: 0 / 3.108 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.01037/4.153, allocations: 8.48 MB / 3.116 GB, free: 4.055 MB / 0.8855 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