Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.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.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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.483/2.483, allocations: 390.5 MB / 398 MB, free: 10.96 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.001285/0.001285, allocations: 183.9 kB / 491.2 MB, free: 1.613 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.8/1.8, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001048/0.001048, allocations: 102.5 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.221e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.426, allocations: 1.874 GB / 3.086 GB, free: 355.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/6.427, allocations: 84.42 kB / 3.086 GB, free: 355.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.07/8.497, allocations: 0.6781 GB / 3.764 GB, free: 156.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/8.497, allocations: 0 / 3.764 GB, free: 156.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001048/8.497, allocations: 39.98 kB / 3.764 GB, free: 156 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.006473/8.504, allocations: 1.861 MB / 3.766 GB, free: 154.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/8.504, allocations: 12.03 kB / 3.766 GB, free: 154.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/8.509, allocations: 0.88 MB / 3.767 GB, free: 153.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/8.513, allocations: 1.129 MB / 3.768 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/8.513, allocations: 28 kB / 3.768 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/8.513, allocations: 59.89 kB / 3.768 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00183/8.515, allocations: 0.9958 MB / 3.769 GB, free: 150.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/8.517, allocations: 1.169 MB / 3.77 GB, free: 149.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/8.517, allocations: 4 kB / 3.77 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.994e-05/8.517, allocations: 0 / 3.77 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/8.517, allocations: 41.94 kB / 3.77 GB, free: 149.7 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.008201/8.525, allocations: 4.821 MB / 3.775 GB, free: 144.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/8.526, allocations: 1.069 MB / 3.776 GB, free: 143.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/8.527, allocations: 0.5713 MB / 3.777 GB, free: 143 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/8.528, allocations: 0.945 MB / 3.778 GB, free: 141.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008479/8.529, allocations: 0.6874 MB / 3.778 GB, free: 141.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 4.198e-06/8.529, allocations: 0 / 3.778 GB, free: 141.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.002658/8.532, allocations: 1.28 MB / 3.78 GB, free: 139.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/8.532, allocations: 72.12 kB / 3.78 GB, free: 139.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/8.533, allocations: 0.8139 MB / 3.78 GB, free: 139 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/8.533, allocations: 29.7 kB / 3.78 GB, free: 139 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/8.533, allocations: 0.5551 MB / 3.781 GB, free: 138.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/8.533, allocations: 319.3 kB / 3.781 GB, free: 138.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/8.533, allocations: 0 / 3.781 GB, free: 138.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/8.533, allocations: 341.9 kB / 3.782 GB, free: 137.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/8.534, allocations: 478.4 kB / 3.782 GB, free: 137.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/8.535, allocations: 0.691 MB / 3.783 GB, free: 136.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/8.535, allocations: 0.5058 MB / 3.783 GB, free: 136 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/8.535, allocations: 4 kB / 3.783 GB, free: 136 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001805/8.537, allocations: 1.276 MB / 3.785 GB, free: 134.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/8.537, allocations: 8 kB / 3.785 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/8.537, allocations: 4 kB / 3.785 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/8.537, allocations: 8 kB / 3.785 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/8.539, allocations: 356 kB / 3.785 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/8.539, allocations: 11.94 kB / 3.785 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/8.541, allocations: 215 kB / 3.785 GB, free: 134.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/8.541, allocations: 55.95 kB / 3.785 GB, free: 134.1 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.0002335/8.541, allocations: 135 kB / 3.785 GB, free: 133.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/8.541, allocations: 118.6 kB / 3.785 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/8.543, allocations: 1.361 MB / 3.787 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/8.543, allocations: 12 kB / 3.787 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/8.543, allocations: 0 / 3.787 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/8.543, allocations: 7.922 kB / 3.787 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/8.548, allocations: 2.884 MB / 3.79 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/8.548, allocations: 4 kB / 3.79 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/8.549, allocations: 308 kB / 3.79 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/8.549, allocations: 8 kB / 3.79 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/8.549, allocations: 35.91 kB / 3.79 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/8.549, allocations: 12 kB / 3.79 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/8.549, allocations: 7.938 kB / 3.79 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/8.552, allocations: 2.389 MB / 3.792 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/8.553, allocations: 355.3 kB / 3.793 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/8.553, allocations: 11.98 kB / 3.793 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/8.554, allocations: 163.8 kB / 3.793 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/8.554, allocations: 72.59 kB / 3.793 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/8.555, allocations: 48.08 kB / 3.793 GB, free: 125.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006749/8.555, allocations: 0.6236 MB / 3.793 GB, free: 125.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/8.555, allocations: 3.938 kB / 3.793 GB, free: 125.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001476/8.557, allocations: 471.3 kB / 3.794 GB, free: 124.8 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.002863/8.56, allocations: 2.16 MB / 3.796 GB, free: 122.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001649/8.561, allocations: 1.147 MB / 3.797 GB, free: 121.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/8.561, allocations: 5.125 kB / 3.797 GB, free: 121.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/8.562, allocations: 0.6128 MB / 3.798 GB, free: 120.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/8.564, allocations: 436.6 kB / 3.798 GB, free: 120.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/8.578, allocations: 3.021 MB / 3.801 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/8.578, allocations: 1.215 MB / 3.802 GB, free: 116.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001966/8.58, allocations: 368.2 kB / 3.803 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/8.581, allocations: 123.3 kB / 3.803 GB, free: 115.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.272e-06/8.581, allocations: 0 / 3.803 GB, free: 115.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04123/8.622, allocations: 28.27 MB / 3.83 GB, free: 87.52 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches