Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001226/0.001226, allocations: 173.1 kB / 498.1 MB, free: 5.746 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.511/1.511, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.001104/0.001105, allocations: 99.88 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003996, allocations: 11.62 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3107, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.049/5.36, allocations: 2.158 GB / 3.381 GB, free: 330.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/5.36, allocations: 91.69 kB / 3.381 GB, free: 330.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.777/7.137, allocations: 0.602 GB / 3.983 GB, free: 176.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.342e-06/7.138, allocations: 0 / 3.983 GB, free: 176.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001742/7.138, allocations: 39.92 kB / 3.983 GB, free: 176.5 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003994/7.142, allocations: 1.546 MB / 3.985 GB, free: 174.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/7.142, allocations: 8.031 kB / 3.985 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/7.145, allocations: 0.5798 MB / 3.985 GB, free: 174.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/7.148, allocations: 0.922 MB / 3.986 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/7.148, allocations: 54 kB / 3.986 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/7.148, allocations: 76 kB / 3.986 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/7.151, allocations: 1.104 MB / 3.987 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/7.151, allocations: 0 / 3.987 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/7.151, allocations: 28 kB / 3.987 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-05/7.152, allocations: 37.28 kB / 3.987 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/7.154, allocations: 1.012 MB / 3.988 GB, free: 170.9 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.006203/7.161, allocations: 4.959 MB / 3.993 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/7.163, allocations: 0.9576 MB / 3.994 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/7.164, allocations: 1.592 MB / 3.996 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/7.166, allocations: 0.5768 MB / 3.996 GB, free: 162.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 4.157e-06/7.166, allocations: 0 / 3.996 GB, free: 162.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.00409/7.17, allocations: 1.512 MB / 3.998 GB, free: 160.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/7.17, allocations: 59.97 kB / 3.998 GB, free: 160.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/7.171, allocations: 0.9813 MB / 3.999 GB, free: 159.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/7.171, allocations: 41.7 kB / 3.999 GB, free: 159.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/7.171, allocations: 0.5473 MB / 3.999 GB, free: 159 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/7.172, allocations: 217 kB / 4 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/7.172, allocations: 16 kB / 4 GB, free: 158.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.149e-05/7.172, allocations: 330.4 kB / 4 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/7.173, allocations: 457.6 kB / 4 GB, free: 158 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/7.174, allocations: 0.7491 MB / 4.001 GB, free: 157.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/7.176, allocations: 0.49 MB / 4.002 GB, free: 156.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/7.176, allocations: 3.938 kB / 4.002 GB, free: 156.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003145/7.179, allocations: 1.282 MB / 4.003 GB, free: 155.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/7.179, allocations: 11.94 kB / 4.003 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/7.179, allocations: 8 kB / 4.003 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/7.179, allocations: 16 kB / 4.003 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/7.18, allocations: 276.3 kB / 4.003 GB, free: 155 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/7.18, allocations: 27.81 kB / 4.003 GB, free: 155 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/7.181, allocations: 207 kB / 4.003 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/7.181, allocations: 51.97 kB / 4.003 GB, free: 154.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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 0.0005535/7.182, allocations: 299.7 kB / 4.004 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/7.182, allocations: 122.5 kB / 4.004 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/7.185, allocations: 1.424 MB / 4.005 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/7.185, allocations: 8 kB / 4.005 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/7.186, allocations: 4 kB / 4.005 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/7.186, allocations: 11.92 kB / 4.005 GB, free: 152.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/7.19, allocations: 2.481 MB / 4.008 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/7.19, allocations: 0 / 4.008 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/7.191, allocations: 196 kB / 4.008 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/7.191, allocations: 4 kB / 4.008 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/7.191, allocations: 31.97 kB / 4.008 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/7.191, allocations: 7.938 kB / 4.008 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/7.191, allocations: 0 / 4.008 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/7.196, allocations: 2.125 MB / 4.01 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/7.196, allocations: 307.2 kB / 4.01 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/7.196, allocations: 20 kB / 4.01 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/7.197, allocations: 131.9 kB / 4.01 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/7.197, allocations: 52.48 kB / 4.01 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/7.198, allocations: 35.92 kB / 4.011 GB, free: 147.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008783/7.198, allocations: 0.7677 MB / 4.011 GB, free: 146.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/7.198, allocations: 0 / 4.011 GB, free: 146.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001195/7.2, allocations: 391.5 kB / 4.012 GB, free: 146.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001512/7.201, allocations: 0.8281 MB / 4.012 GB, free: 145.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002786/7.204, allocations: 1.143 MB / 4.014 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/7.204, allocations: 0 / 4.014 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/7.205, allocations: 0.597 MB / 4.014 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/7.207, allocations: 418.8 kB / 4.015 GB, free: 143.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/7.212, allocations: 2.747 MB / 4.017 GB, free: 140.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/7.212, allocations: 1.136 MB / 4.018 GB, free: 139.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001081/7.213, allocations: 248.5 kB / 4.019 GB, free: 139.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/7.214, allocations: 115.4 kB / 4.019 GB, free: 139 MB / 1.167 GB Notification: Performance of SimCode: time 6.91e-07/7.214, allocations: 0 / 4.019 GB, free: 139 MB / 1.167 GB Notification: Performance of Templates: time 0.03043/7.244, allocations: 20.92 MB / 4.039 GB, free: 118.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches