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.475/2.475, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.00108/0.00108, allocations: 180 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001289/0.00129, allocations: 95.89 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.603e-05/5.606e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3494, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/1.86, allocations: 402.3 MB / 1.612 GB, free: 15.98 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.86, allocations: 87.58 kB / 1.612 GB, free: 15.94 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 3.968/5.828, allocations: 0.9519 GB / 2.564 GB, free: 17.52 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.519e-06/5.828, allocations: 0 / 2.564 GB, free: 17.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002181/5.829, allocations: 51.98 kB / 2.564 GB, free: 17.47 MB / 1.151 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.006319/5.835, allocations: 1.858 MB / 2.565 GB, free: 15.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.789e-05/5.835, allocations: 8.031 kB / 2.565 GB, free: 15.54 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/5.838, allocations: 0.6105 MB / 2.566 GB, free: 14.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/5.843, allocations: 1.43 MB / 2.567 GB, free: 13.44 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/5.843, allocations: 82 kB / 2.568 GB, free: 13.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/5.843, allocations: 108 kB / 2.568 GB, free: 13.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/5.845, allocations: 1.184 MB / 2.569 GB, free: 12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/5.845, allocations: 7.891 kB / 2.569 GB, free: 12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/5.845, allocations: 44 kB / 2.569 GB, free: 11.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/5.845, allocations: 24 kB / 2.569 GB, free: 11.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/5.847, allocations: 0.9254 MB / 2.57 GB, free: 11 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008054/5.855, allocations: 6.419 MB / 2.576 GB, free: 4.078 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/5.856, allocations: 0.956 MB / 2.577 GB, free: 3.105 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/5.857, allocations: 0.5234 MB / 2.577 GB, free: 2.578 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/5.858, allocations: 2.261 MB / 2.58 GB, free: 15.82 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/5.86, allocations: 0.6831 MB / 2.58 GB, free: 15.11 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 6.051e-06/5.86, allocations: 0 / 2.58 GB, free: 15.11 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.002956/5.863, allocations: 1.334 MB / 2.582 GB, free: 13.75 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/5.863, allocations: 149.2 kB / 2.582 GB, free: 13.57 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/5.864, allocations: 1.021 MB / 2.583 GB, free: 12.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/5.865, allocations: 45.7 kB / 2.583 GB, free: 12.49 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/5.865, allocations: 0.6822 MB / 2.583 GB, free: 11.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/5.866, allocations: 335.2 kB / 2.584 GB, free: 11.47 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/5.866, allocations: 20 kB / 2.584 GB, free: 11.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001691/5.866, allocations: 341.9 kB / 2.584 GB, free: 11.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/5.867, allocations: 425.9 kB / 2.585 GB, free: 10.69 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/5.868, allocations: 0.6613 MB / 2.585 GB, free: 9.938 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/5.869, allocations: 0.5385 MB / 2.586 GB, free: 9.383 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/5.869, allocations: 8 kB / 2.586 GB, free: 9.375 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002634/5.871, allocations: 1.467 MB / 2.587 GB, free: 7.883 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000885/5.872, allocations: 1.708 MB / 2.589 GB, free: 6.004 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/5.872, allocations: 4 kB / 2.589 GB, free: 6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/5.872, allocations: 8 kB / 2.589 GB, free: 5.992 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/5.874, allocations: 287.6 kB / 2.589 GB, free: 5.711 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/5.874, allocations: 11.94 kB / 2.589 GB, free: 5.699 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/5.875, allocations: 238.8 kB / 2.589 GB, free: 5.465 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/5.876, allocations: 63.95 kB / 2.589 GB, free: 5.402 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/5.876, allocations: 4 kB / 2.589 GB, free: 5.398 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002367/5.878, allocations: 1.37 MB / 2.591 GB, free: 4.012 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/5.878, allocations: 4 kB / 2.591 GB, free: 4.008 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/5.878, allocations: 11.95 kB / 2.591 GB, free: 3.996 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/5.879, allocations: 279.9 kB / 2.591 GB, free: 3.723 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/5.879, allocations: 15.92 kB / 2.591 GB, free: 3.707 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/5.881, allocations: 227 kB / 2.591 GB, free: 3.484 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/5.881, allocations: 59.97 kB / 2.591 GB, free: 3.426 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 () * 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.0005181/5.882, allocations: 272.1 kB / 2.592 GB, free: 3.133 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/5.882, allocations: 166 kB / 2.592 GB, free: 2.969 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/5.887, allocations: 2.037 MB / 2.594 GB, free: 0.9062 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/5.887, allocations: 15.94 kB / 2.594 GB, free: 0.8906 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/5.887, allocations: 11.92 kB / 2.594 GB, free: 0.8789 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/5.887, allocations: 3.984 kB / 2.594 GB, free: 0.875 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.055/6.942, allocations: 3.385 MB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/6.942, allocations: 5.891 kB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/6.943, allocations: 230 kB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/6.943, allocations: 5.906 kB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/6.943, allocations: 48.33 kB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/6.943, allocations: 8.094 kB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/6.944, allocations: 2.344 kB / 2.597 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/6.949, allocations: 2.728 MB / 2.6 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/6.951, allocations: 411.9 kB / 2.6 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/6.951, allocations: 27.33 kB / 2.6 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/6.952, allocations: 168.9 kB / 2.601 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/6.952, allocations: 76.69 kB / 2.601 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/6.953, allocations: 60.98 kB / 2.601 GB, free: 200.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001709/6.954, allocations: 0.7867 MB / 2.602 GB, free: 200 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.61e-07/6.954, allocations: 0 / 2.602 GB, free: 200 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004438/6.959, allocations: 0.9235 MB / 2.602 GB, free: 199.9 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) * 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.00364/6.962, allocations: 0.9701 MB / 2.603 GB, free: 199.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005284/6.968, allocations: 2.298 MB / 2.606 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/6.968, allocations: 3.375 kB / 2.606 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/6.97, allocations: 0.9194 MB / 2.607 GB, free: 199.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/6.974, allocations: 0.5937 MB / 2.607 GB, free: 199.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/6.979, allocations: 2.47 MB / 2.609 GB, free: 198.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/6.98, allocations: 1.308 MB / 2.611 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003061/6.984, allocations: 498 kB / 2.611 GB, free: 197.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/6.984, allocations: 116 kB / 2.611 GB, free: 197.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/6.984, allocations: 4.25 kB / 2.611 GB, free: 197.8 MB / 1.167 GB Notification: Performance of Templates: time 0.089/7.073, allocations: 37.69 MB / 2.648 GB, free: 197.3 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