Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001194/0.001194, allocations: 191.9 kB / 0.4902 GB, free: 2.234 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.691/1.691, allocations: 223.2 MB / 0.7992 GB, free: 15.68 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.0008899/0.00089, allocations: 108.1 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 9.391 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3222, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.534, allocations: 402.3 MB / 1.622 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.535, allocations: 86.45 kB / 1.622 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.293/4.828, allocations: 0.9549 GB / 2.577 GB, free: 168.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.553e-06/4.828, allocations: 0 / 2.577 GB, free: 168.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002366/4.828, allocations: 51.7 kB / 2.577 GB, free: 168.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005814/4.834, allocations: 2.175 MB / 2.579 GB, free: 166.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/4.834, allocations: 10.28 kB / 2.579 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/4.837, allocations: 0.6024 MB / 2.58 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/4.841, allocations: 1.456 MB / 2.581 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/4.842, allocations: 78 kB / 2.581 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/4.842, allocations: 107.9 kB / 2.581 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/4.845, allocations: 1.369 MB / 2.583 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/4.845, allocations: 0 / 2.583 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/4.845, allocations: 40.34 kB / 2.583 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/4.845, allocations: 27.95 kB / 2.583 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/4.848, allocations: 1.272 MB / 2.584 GB, free: 161.5 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008929/4.857, allocations: 6.41 MB / 2.59 GB, free: 154.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/4.86, allocations: 1.277 MB / 2.592 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/4.862, allocations: 2.265 MB / 2.594 GB, free: 150.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/4.864, allocations: 0.8561 MB / 2.595 GB, free: 149.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 4.047e-06/4.864, allocations: 0 / 2.595 GB, free: 149.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.004991/4.869, allocations: 2.488 MB / 2.597 GB, free: 147.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/4.869, allocations: 153.5 kB / 2.597 GB, free: 146.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/4.87, allocations: 1.046 MB / 2.598 GB, free: 145.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/4.87, allocations: 45.7 kB / 2.598 GB, free: 145.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/4.871, allocations: 0.686 MB / 2.599 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/4.871, allocations: 335.2 kB / 2.599 GB, free: 144.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/4.871, allocations: 16 kB / 2.599 GB, free: 144.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/4.871, allocations: 345.9 kB / 2.6 GB, free: 144.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/4.873, allocations: 0.5797 MB / 2.6 GB, free: 143.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/4.874, allocations: 0.837 MB / 2.601 GB, free: 142.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/4.875, allocations: 0.699 MB / 2.602 GB, free: 142.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/4.876, allocations: 8 kB / 2.602 GB, free: 142.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003748/4.879, allocations: 1.801 MB / 2.603 GB, free: 140.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003728/4.88, allocations: 1.721 MB / 2.605 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/4.88, allocations: 4 kB / 2.605 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/4.88, allocations: 12 kB / 2.605 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/4.881, allocations: 279.6 kB / 2.605 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/4.881, allocations: 15.98 kB / 2.605 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/4.883, allocations: 242.7 kB / 2.606 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/4.883, allocations: 59.97 kB / 2.606 GB, free: 137.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/4.883, allocations: 0 / 2.606 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003409/4.886, allocations: 1.722 MB / 2.607 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/4.886, allocations: 8 kB / 2.607 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/4.886, allocations: 8 kB / 2.607 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/4.887, allocations: 283.9 kB / 2.608 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/4.887, allocations: 11.98 kB / 2.608 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/4.889, allocations: 231 kB / 2.608 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/4.889, allocations: 63.97 kB / 2.608 GB, free: 135.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0008453/4.89, allocations: 495.7 kB / 2.608 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/4.891, allocations: 162 kB / 2.609 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/4.895, allocations: 2.376 MB / 2.611 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/4.895, allocations: 19.98 kB / 2.611 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/4.895, allocations: 4 kB / 2.611 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/4.895, allocations: 7.938 kB / 2.611 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/4.902, allocations: 3.729 MB / 2.615 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/4.902, allocations: 8.156 kB / 2.615 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/4.903, allocations: 227.7 kB / 2.615 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/4.903, allocations: 4 kB / 2.615 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/4.903, allocations: 43.97 kB / 2.615 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/4.903, allocations: 8 kB / 2.615 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/4.903, allocations: 0 / 2.615 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/4.909, allocations: 3.244 MB / 2.618 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/4.91, allocations: 418.5 kB / 2.618 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/4.911, allocations: 28 kB / 2.618 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/4.913, allocations: 170.8 kB / 2.619 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/4.913, allocations: 64.91 kB / 2.619 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/4.913, allocations: 59.97 kB / 2.619 GB, free: 124.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001506/4.914, allocations: 0.8141 MB / 2.619 GB, free: 123.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.5e-07/4.914, allocations: 0 / 2.619 GB, free: 123.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003591/4.918, allocations: 0.9245 MB / 2.62 GB, free: 122.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002121/4.92, allocations: 0.9744 MB / 2.621 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00507/4.925, allocations: 2.756 MB / 2.624 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/4.925, allocations: 0 / 2.624 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/4.927, allocations: 1.09 MB / 2.625 GB, free: 117.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/4.93, allocations: 0.5935 MB / 2.626 GB, free: 117 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/4.935, allocations: 3.739 MB / 2.629 GB, free: 113.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/4.936, allocations: 1.302 MB / 2.631 GB, free: 112 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001709/4.938, allocations: 425.2 kB / 2.631 GB, free: 111.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/4.938, allocations: 139.3 kB / 2.631 GB, free: 111.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.012e-06/4.938, allocations: 4 kB / 2.631 GB, free: 111.4 MB / 1.167 GB Notification: Performance of Templates: time 0.04928/4.988, allocations: 33.71 MB / 2.664 GB, free: 78.29 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches