Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.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_9_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_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001067/0.001067, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.756/1.756, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001046/0.001046, allocations: 94.58 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.555e-05/4.567e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3457, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.456/1.802, allocations: 401.4 MB / 1.604 GB, free: 12.61 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.802, allocations: 86.27 kB / 1.604 GB, free: 12.57 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.946/5.748, allocations: 0.9519 GB / 2.556 GB, free: 72.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.316e-06/5.748, allocations: 0 / 2.556 GB, free: 72.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003655/5.749, allocations: 55.91 kB / 2.556 GB, free: 72.61 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.006166/5.755, allocations: 1.865 MB / 2.558 GB, free: 70.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/5.755, allocations: 8.031 kB / 2.558 GB, free: 70.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/5.759, allocations: 0.6108 MB / 2.559 GB, free: 70.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005734/5.764, allocations: 1.43 MB / 2.56 GB, free: 68.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/5.765, allocations: 81.98 kB / 2.56 GB, free: 68.49 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006312/5.765, allocations: 108 kB / 2.56 GB, free: 68.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/5.769, allocations: 1.188 MB / 2.562 GB, free: 67.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/5.769, allocations: 3.938 kB / 2.562 GB, free: 67.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/5.769, allocations: 44 kB / 2.562 GB, free: 67.08 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/5.769, allocations: 28 kB / 2.562 GB, free: 67.05 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/5.77, allocations: 0.9292 MB / 2.563 GB, free: 66.12 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.008537/5.779, allocations: 6.424 MB / 2.569 GB, free: 59.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/5.78, allocations: 0.9454 MB / 2.57 GB, free: 58.24 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/5.781, allocations: 0.5264 MB / 2.57 GB, free: 57.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/5.783, allocations: 2.261 MB / 2.573 GB, free: 54.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008435/5.783, allocations: 0.6792 MB / 2.573 GB, free: 54.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 3.557e-06/5.783, allocations: 4 kB / 2.573 GB, free: 54.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.002423/5.786, allocations: 1.334 MB / 2.574 GB, free: 52.88 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/5.786, allocations: 149.3 kB / 2.575 GB, free: 52.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/5.787, allocations: 1.021 MB / 2.576 GB, free: 51.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/5.788, allocations: 49.64 kB / 2.576 GB, free: 51.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005122/5.788, allocations: 0.6783 MB / 2.576 GB, free: 50.93 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/5.788, allocations: 335.2 kB / 2.577 GB, free: 50.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/5.788, allocations: 20 kB / 2.577 GB, free: 50.58 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001118/5.789, allocations: 345.9 kB / 2.577 GB, free: 50.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/5.789, allocations: 417.9 kB / 2.577 GB, free: 49.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/5.79, allocations: 0.666 MB / 2.578 GB, free: 49.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/5.791, allocations: 0.5463 MB / 2.579 GB, free: 48.51 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/5.791, allocations: 0 / 2.579 GB, free: 48.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002403/5.793, allocations: 1.464 MB / 2.58 GB, free: 47.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005584/5.794, allocations: 1.718 MB / 2.582 GB, free: 45.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/5.794, allocations: 4 kB / 2.582 GB, free: 45.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/5.794, allocations: 8 kB / 2.582 GB, free: 45.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/5.795, allocations: 279.6 kB / 2.582 GB, free: 44.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/5.795, allocations: 15.92 kB / 2.582 GB, free: 44.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/5.797, allocations: 234.9 kB / 2.582 GB, free: 44.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/5.797, allocations: 59.97 kB / 2.582 GB, free: 44.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/5.797, allocations: 8 kB / 2.582 GB, free: 44.54 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002007/5.799, allocations: 1.366 MB / 2.584 GB, free: 43.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.799, allocations: 8.469 kB / 2.584 GB, free: 43.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/5.799, allocations: 12 kB / 2.584 GB, free: 43.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/5.8, allocations: 287.6 kB / 2.584 GB, free: 42.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/5.8, allocations: 11.94 kB / 2.584 GB, free: 42.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/5.802, allocations: 234.9 kB / 2.584 GB, free: 42.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/5.802, allocations: 67.95 kB / 2.584 GB, free: 42.54 MB / 1.151 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.0004007/5.803, allocations: 275.5 kB / 2.584 GB, free: 42.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/5.803, allocations: 158.1 kB / 2.585 GB, free: 42.09 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/5.806, allocations: 2.033 MB / 2.587 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/5.806, allocations: 15.98 kB / 2.587 GB, free: 40.01 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/5.806, allocations: 4 kB / 2.587 GB, free: 40 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/5.806, allocations: 3.984 kB / 2.587 GB, free: 40 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/5.812, allocations: 3.397 MB / 2.59 GB, free: 36.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/5.812, allocations: 0 / 2.59 GB, free: 36.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/5.813, allocations: 239.8 kB / 2.59 GB, free: 36.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/5.813, allocations: 4 kB / 2.59 GB, free: 36.27 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/5.813, allocations: 39.97 kB / 2.59 GB, free: 36.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/5.813, allocations: 7.938 kB / 2.59 GB, free: 36.22 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/5.813, allocations: 4 kB / 2.59 GB, free: 36.21 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/5.816, allocations: 2.729 MB / 2.593 GB, free: 33.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/5.817, allocations: 410.5 kB / 2.593 GB, free: 32.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/5.818, allocations: 28 kB / 2.593 GB, free: 32.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/5.819, allocations: 171.8 kB / 2.593 GB, free: 32.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/5.819, allocations: 80.88 kB / 2.594 GB, free: 32.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/5.819, allocations: 51.97 kB / 2.594 GB, free: 32.65 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001199/5.82, allocations: 0.7896 MB / 2.594 GB, free: 31.86 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/5.82, allocations: 0 / 2.594 GB, free: 31.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003252/5.824, allocations: 0.9167 MB / 2.595 GB, free: 30.94 MB / 1.151 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.00211/5.826, allocations: 0.9794 MB / 2.596 GB, free: 29.96 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003216/5.829, allocations: 2.298 MB / 2.598 GB, free: 27.59 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/5.829, allocations: 7.938 kB / 2.598 GB, free: 27.59 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/5.83, allocations: 0.9141 MB / 2.599 GB, free: 26.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/5.833, allocations: 0.601 MB / 2.6 GB, free: 26.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/5.838, allocations: 2.465 MB / 2.602 GB, free: 23.53 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/5.838, allocations: 1.312 MB / 2.604 GB, free: 22.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002223/5.841, allocations: 0.4915 MB / 2.604 GB, free: 21.69 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/5.841, allocations: 115.4 kB / 2.604 GB, free: 21.57 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/5.841, allocations: 0 / 2.604 GB, free: 21.57 MB / 1.151 GB Notification: Performance of Templates: time 0.9183/6.759, allocations: 37.67 MB / 2.641 GB, free: 186.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches