Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.648/2.648, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001033/0.001033, allocations: 184.8 kB / 492.3 MB, free: 0.6172 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.602/1.602, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009855/0.0009855, allocations: 100.3 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.045e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2967, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.556/5.852, allocations: 1.874 GB / 3.086 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/5.853, allocations: 81.56 kB / 3.086 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.168/8.021, allocations: 0.6864 GB / 3.773 GB, free: 148.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.743e-06/8.021, allocations: 0 / 3.773 GB, free: 148.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001162/8.021, allocations: 39.98 kB / 3.773 GB, free: 148.5 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006889/8.028, allocations: 1.865 MB / 3.774 GB, free: 146.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/8.028, allocations: 8.031 kB / 3.774 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/8.033, allocations: 0.8722 MB / 3.775 GB, free: 145.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/8.038, allocations: 1.145 MB / 3.776 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/8.038, allocations: 70 kB / 3.776 GB, free: 144.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/8.039, allocations: 87.91 kB / 3.777 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/8.041, allocations: 1.283 MB / 3.778 GB, free: 143 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/8.041, allocations: 0 / 3.778 GB, free: 143 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/8.041, allocations: 32 kB / 3.778 GB, free: 143 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/8.041, allocations: 45.97 kB / 3.778 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/8.043, allocations: 1.136 MB / 3.779 GB, free: 141.8 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.007883/8.051, allocations: 5.041 MB / 3.784 GB, free: 136.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/8.052, allocations: 1.114 MB / 3.785 GB, free: 135.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/8.053, allocations: 0.6019 MB / 3.786 GB, free: 134.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/8.054, allocations: 0.945 MB / 3.787 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/8.055, allocations: 0.697 MB / 3.787 GB, free: 132.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 3.898e-06/8.055, allocations: 0 / 3.787 GB, free: 132.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.002737/8.058, allocations: 1.314 MB / 3.788 GB, free: 131.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/8.058, allocations: 72.14 kB / 3.789 GB, free: 131.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/8.059, allocations: 1.048 MB / 3.79 GB, free: 130.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/8.059, allocations: 53.64 kB / 3.79 GB, free: 130.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/8.06, allocations: 0.5409 MB / 3.79 GB, free: 129.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/8.06, allocations: 331.3 kB / 3.79 GB, free: 129.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/8.06, allocations: 16 kB / 3.79 GB, free: 129.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/8.06, allocations: 341.9 kB / 3.791 GB, free: 129.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/8.061, allocations: 497.8 kB / 3.791 GB, free: 128.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/8.062, allocations: 0.7214 MB / 3.792 GB, free: 127.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/8.062, allocations: 0.5045 MB / 3.792 GB, free: 127.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/8.062, allocations: 4 kB / 3.792 GB, free: 127.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001927/8.064, allocations: 1.347 MB / 3.794 GB, free: 126 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/8.064, allocations: 9.812 kB / 3.794 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/8.064, allocations: 8 kB / 3.794 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/8.064, allocations: 8 kB / 3.794 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/8.066, allocations: 355.5 kB / 3.794 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/8.066, allocations: 15.92 kB / 3.794 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/8.068, allocations: 258.7 kB / 3.794 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/8.068, allocations: 63.95 kB / 3.794 GB, free: 125.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002439/8.068, allocations: 167 kB / 3.795 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/8.068, allocations: 138.3 kB / 3.795 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/8.071, allocations: 1.44 MB / 3.796 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/8.071, allocations: 8 kB / 3.796 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/8.071, allocations: 0 / 3.796 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/8.071, allocations: 3.984 kB / 3.796 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/8.075, allocations: 3.051 MB / 3.799 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/8.075, allocations: 8 kB / 3.799 GB, free: 120.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/8.077, allocations: 315.8 kB / 3.799 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/8.077, allocations: 11.95 kB / 3.8 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/8.077, allocations: 39.95 kB / 3.8 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/8.077, allocations: 11.94 kB / 3.8 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/8.077, allocations: 4 kB / 3.8 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/8.08, allocations: 2.477 MB / 3.802 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/8.081, allocations: 367.1 kB / 3.802 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/8.081, allocations: 28 kB / 3.802 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/8.082, allocations: 175.8 kB / 3.803 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/8.083, allocations: 76.58 kB / 3.803 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/8.083, allocations: 43.97 kB / 3.803 GB, free: 116.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000997/8.084, allocations: 0.8213 MB / 3.803 GB, free: 115.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.084, allocations: 0 / 3.803 GB, free: 115.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001822/8.085, allocations: 0.5269 MB / 3.804 GB, free: 115.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003202/8.089, allocations: 1.983 MB / 3.806 GB, free: 113.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001957/8.091, allocations: 1.198 MB / 3.807 GB, free: 112.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/8.091, allocations: 4.375 kB / 3.807 GB, free: 112.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008634/8.092, allocations: 0.6367 MB / 3.808 GB, free: 111.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/8.094, allocations: 0.5835 MB / 3.808 GB, free: 111 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/8.108, allocations: 3.098 MB / 3.811 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/8.109, allocations: 1.212 MB / 3.812 GB, free: 106.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002035/8.111, allocations: 401.8 kB / 3.813 GB, free: 106.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/8.111, allocations: 135.3 kB / 3.813 GB, free: 106.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.503e-06/8.111, allocations: 0 / 3.813 GB, free: 106.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05934/8.17, allocations: 47.67 MB / 3.86 GB, free: 58.59 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches