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.123/2.123, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001227/0.001227, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.488/1.488, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 95.78 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.127e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.59, allocations: 400.8 MB / 1.597 GB, free: 5.242 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.591, allocations: 85.8 kB / 1.597 GB, free: 5.199 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.316/4.907, allocations: 0.9473 GB / 2.545 GB, free: 92.74 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.402e-06/4.907, allocations: 4 kB / 2.545 GB, free: 92.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002426/4.907, allocations: 55.97 kB / 2.545 GB, free: 92.68 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.004193/4.911, allocations: 1.86 MB / 2.547 GB, free: 90.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/4.911, allocations: 8.031 kB / 2.547 GB, free: 90.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/4.915, allocations: 0.6104 MB / 2.547 GB, free: 90.13 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/4.918, allocations: 1.422 MB / 2.549 GB, free: 88.66 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/4.918, allocations: 36 kB / 2.549 GB, free: 88.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/4.919, allocations: 67.94 kB / 2.549 GB, free: 88.55 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/4.92, allocations: 0.8592 MB / 2.55 GB, free: 87.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/4.922, allocations: 1.044 MB / 2.551 GB, free: 86.58 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/4.922, allocations: 3.938 kB / 2.551 GB, free: 86.58 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/4.923, allocations: 8.328 kB / 2.551 GB, free: 86.57 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/4.923, allocations: 27.95 kB / 2.551 GB, free: 86.54 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.00993/4.932, allocations: 6.226 MB / 2.557 GB, free: 79.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/4.934, allocations: 0.9115 MB / 2.558 GB, free: 78.91 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/4.935, allocations: 0.4997 MB / 2.558 GB, free: 78.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/4.937, allocations: 2.261 MB / 2.56 GB, free: 75.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009166/4.937, allocations: 0.6444 MB / 2.561 GB, free: 74.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 5.24e-06/4.937, allocations: 4 kB / 2.561 GB, free: 74.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.003751/4.941, allocations: 1.455 MB / 2.562 GB, free: 73.51 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/4.941, allocations: 153.3 kB / 2.562 GB, free: 73.33 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/4.943, allocations: 0.8819 MB / 2.563 GB, free: 72.44 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/4.943, allocations: 29.7 kB / 2.563 GB, free: 72.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006899/4.944, allocations: 0.6971 MB / 2.564 GB, free: 71.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/4.944, allocations: 323.2 kB / 2.564 GB, free: 71.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/4.945, allocations: 0 / 2.564 GB, free: 71.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001148/4.945, allocations: 341.9 kB / 2.565 GB, free: 71.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/4.945, allocations: 406.5 kB / 2.565 GB, free: 70.64 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/4.946, allocations: 0.6383 MB / 2.566 GB, free: 69.91 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/4.948, allocations: 0.6968 MB / 2.566 GB, free: 69.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/4.948, allocations: 4 kB / 2.566 GB, free: 69.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003948/4.952, allocations: 1.558 MB / 2.568 GB, free: 67.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005467/4.953, allocations: 1.712 MB / 2.57 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/4.953, allocations: 4 kB / 2.57 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.474e-05/4.953, allocations: 8 kB / 2.57 GB, free: 65.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/4.954, allocations: 287.6 kB / 2.57 GB, free: 65.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/4.954, allocations: 11.94 kB / 2.57 GB, free: 65.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/4.956, allocations: 207 kB / 2.57 GB, free: 65.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/4.956, allocations: 63.97 kB / 2.57 GB, free: 65.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/4.956, allocations: 4 kB / 2.57 GB, free: 65.25 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/4.96, allocations: 1.441 MB / 2.572 GB, free: 63.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/4.96, allocations: 4 kB / 2.572 GB, free: 63.81 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/4.96, allocations: 8 kB / 2.572 GB, free: 63.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/4.961, allocations: 275.9 kB / 2.572 GB, free: 63.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/4.961, allocations: 19.86 kB / 2.572 GB, free: 63.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/4.963, allocations: 199.1 kB / 2.572 GB, free: 63.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/4.963, allocations: 67.91 kB / 2.572 GB, free: 63.25 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.0003459/4.963, allocations: 243.5 kB / 2.572 GB, free: 62.99 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/4.964, allocations: 154.2 kB / 2.572 GB, free: 62.84 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/4.968, allocations: 2.042 MB / 2.574 GB, free: 60.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/4.968, allocations: 23.97 kB / 2.574 GB, free: 60.76 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/4.968, allocations: 0 / 2.574 GB, free: 60.76 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/4.968, allocations: 7.922 kB / 2.574 GB, free: 60.75 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/4.974, allocations: 3.29 MB / 2.578 GB, free: 57.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/4.974, allocations: 4 kB / 2.578 GB, free: 57.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/4.975, allocations: 235.8 kB / 2.578 GB, free: 57.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/4.975, allocations: 11.95 kB / 2.578 GB, free: 57.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/4.975, allocations: 27.97 kB / 2.578 GB, free: 57.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/4.975, allocations: 4 kB / 2.578 GB, free: 57.12 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/4.975, allocations: 4 kB / 2.578 GB, free: 57.12 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/4.979, allocations: 2.749 MB / 2.581 GB, free: 54.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/4.98, allocations: 394.7 kB / 2.581 GB, free: 53.89 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/4.981, allocations: 12 kB / 2.581 GB, free: 53.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/4.982, allocations: 155.8 kB / 2.581 GB, free: 53.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/4.982, allocations: 77.16 kB / 2.581 GB, free: 53.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/4.982, allocations: 59.95 kB / 2.581 GB, free: 53.59 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001127/4.984, allocations: 0.6678 MB / 2.582 GB, free: 52.93 MB / 1.151 GB Notification: Performance of sort global known variables: time 3e-07/4.984, allocations: 0 / 2.582 GB, free: 52.93 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00316/4.987, allocations: 0.8852 MB / 2.583 GB, free: 52.04 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.002144/4.989, allocations: 0.9839 MB / 2.584 GB, free: 51.05 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002627/4.992, allocations: 2.201 MB / 2.586 GB, free: 48.79 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/4.992, allocations: 0 / 2.586 GB, free: 48.79 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/4.992, allocations: 0.8937 MB / 2.587 GB, free: 47.85 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/4.995, allocations: 0.5086 MB / 2.587 GB, free: 47.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/4.999, allocations: 2.397 MB / 2.59 GB, free: 44.92 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/5, allocations: 1.316 MB / 2.591 GB, free: 43.57 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002085/5.002, allocations: 481.6 kB / 2.591 GB, free: 43.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/5.002, allocations: 115.4 kB / 2.591 GB, free: 42.99 MB / 1.151 GB Notification: Performance of SimCode: time 1.352e-06/5.003, allocations: 4 kB / 2.591 GB, free: 42.99 MB / 1.151 GB Notification: Performance of Templates: time 0.04963/5.052, allocations: 31.1 MB / 2.622 GB, free: 12.22 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