Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001986/0.001986, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.627/1.627, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009632/0.0009632, allocations: 100 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 13.48 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3226, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.5272, allocations: 149.8 MB / 1.369 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5276, allocations: 95.81 kB / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003652/0.5313, allocations: 1.264 MB / 1.371 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5313, allocations: 0 / 1.371 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5313, allocations: 0 / 1.371 GB, free: 10.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005854/0.5319, allocations: 403.1 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.532, allocations: 8.031 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.532, allocations: 7.906 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5322, allocations: 182.9 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5322, allocations: 0 / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5322, allocations: 4 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.5326, allocations: 109.6 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5326, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.5326, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5326, allocations: 3.984 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.5331, allocations: 143.8 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.5335, allocations: 307.4 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.5339, allocations: 106.5 kB / 1.372 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.5339, allocations: 4.031 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.534, allocations: 34.56 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.534, allocations: 4 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0007878/0.5348, allocations: 241.8 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.5348, allocations: 55.36 kB / 1.372 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.5349, allocations: 105.3 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.535, allocations: 29.7 kB / 1.372 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.535, allocations: 92.12 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.5351, allocations: 23.64 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.5351, allocations: 4 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5352, allocations: 322.8 kB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.5354, allocations: 67.95 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.5356, allocations: 63.88 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.5358, allocations: 67.95 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5359, allocations: 0 / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004613/0.5363, allocations: 173.6 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5364, allocations: 9.344 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5364, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5364, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.5366, allocations: 35.97 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5366, allocations: 4 kB / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5367, allocations: 35.83 kB / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5367, allocations: 4 kB / 1.373 GB, free: 8.062 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: 0 () * 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 9.063e-05/0.5368, allocations: 113.8 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.5369, allocations: 4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.5369, allocations: 12.38 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5369, allocations: 7.984 kB / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5369, allocations: 0 / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5369, allocations: 0 / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.5371, allocations: 181.6 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5371, allocations: 0 / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.5373, allocations: 31.97 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5373, allocations: 4 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5373, allocations: 4 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5373, allocations: 0 / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5374, allocations: 3.984 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.5379, allocations: 271.6 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.538, allocations: 88.95 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.538, allocations: 3.984 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5381, allocations: 27.98 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.5382, allocations: 7.984 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.5382, allocations: 0 / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.5383, allocations: 103.3 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5383, allocations: 3.938 kB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002156/0.5385, allocations: 16 kB / 1.374 GB, free: 7.105 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: 0 () * 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.0002156/0.5387, allocations: 99.03 kB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.5393, allocations: 147.9 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5393, allocations: 0 / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.5395, allocations: 79.88 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.5398, allocations: 11.95 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.5402, allocations: 175 kB / 1.374 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5405, allocations: 0.6965 MB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.514e-05/0.5406, allocations: 0 / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.5406, allocations: 15.38 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.5406, allocations: 0 / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of Templates: time 0.003187/0.5438, allocations: 0.7997 MB / 1.376 GB, free: 5.031 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches