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.151/2.151, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.0011/0.0011, allocations: 180.8 kB / 487.4 MB, free: 5.012 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.528/1.528, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.001011/0.001011, allocations: 103.7 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.803e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2913, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.039/5.33, allocations: 1.873 GB / 3.079 GB, free: 361.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/5.331, allocations: 84.98 kB / 3.079 GB, free: 361.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.986/7.316, allocations: 0.6781 GB / 3.757 GB, free: 182.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.362e-06/7.316, allocations: 0 / 3.757 GB, free: 182.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001708/7.317, allocations: 47.48 kB / 3.757 GB, free: 182.3 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.007649/7.324, allocations: 1.861 MB / 3.759 GB, free: 180.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/7.324, allocations: 8.031 kB / 3.759 GB, free: 180.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/7.329, allocations: 0.8683 MB / 3.76 GB, free: 179.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/7.333, allocations: 1.149 MB / 3.761 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/7.333, allocations: 28 kB / 3.761 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/7.334, allocations: 55.91 kB / 3.761 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001718/7.335, allocations: 0.9997 MB / 3.762 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/7.337, allocations: 1.169 MB / 3.763 GB, free: 176.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/7.337, allocations: 0 / 3.763 GB, free: 176.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/7.337, allocations: 3.938 kB / 3.763 GB, free: 176.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/7.337, allocations: 41.97 kB / 3.763 GB, free: 176 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.00734/7.345, allocations: 4.819 MB / 3.768 GB, free: 171 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/7.346, allocations: 1.065 MB / 3.769 GB, free: 169.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/7.347, allocations: 0.5742 MB / 3.77 GB, free: 169.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/7.348, allocations: 0.9411 MB / 3.771 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/7.348, allocations: 0.6759 MB / 3.771 GB, free: 167.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 3.427e-06/7.348, allocations: 0 / 3.771 GB, free: 167.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.002702/7.351, allocations: 1.291 MB / 3.772 GB, free: 166.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/7.351, allocations: 60.19 kB / 3.772 GB, free: 166.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/7.352, allocations: 0.8179 MB / 3.773 GB, free: 165.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/7.352, allocations: 29.7 kB / 3.773 GB, free: 165.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/7.353, allocations: 0.5512 MB / 3.774 GB, free: 164.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/7.353, allocations: 315.4 kB / 3.774 GB, free: 164.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/7.353, allocations: 0 / 3.774 GB, free: 164.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/7.353, allocations: 350.4 kB / 3.774 GB, free: 164.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/7.354, allocations: 474.4 kB / 3.775 GB, free: 163.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/7.354, allocations: 0.6949 MB / 3.776 GB, free: 162.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/7.355, allocations: 0.5098 MB / 3.776 GB, free: 162.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/7.355, allocations: 0 / 3.776 GB, free: 162.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001827/7.357, allocations: 1.269 MB / 3.777 GB, free: 161 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/7.357, allocations: 8 kB / 3.777 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/7.357, allocations: 4 kB / 3.777 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/7.357, allocations: 8 kB / 3.777 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/7.359, allocations: 359.6 kB / 3.778 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/7.359, allocations: 11.98 kB / 3.778 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/7.36, allocations: 215 kB / 3.778 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/7.36, allocations: 63.89 kB / 3.778 GB, free: 160.4 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.0002294/7.36, allocations: 142.9 kB / 3.778 GB, free: 160.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/7.361, allocations: 114.6 kB / 3.778 GB, free: 160.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/7.363, allocations: 1.365 MB / 3.78 GB, free: 158.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/7.363, allocations: 12 kB / 3.78 GB, free: 158.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/7.363, allocations: 4 kB / 3.78 GB, free: 158.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/7.363, allocations: 3.984 kB / 3.78 GB, free: 158.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/7.367, allocations: 2.884 MB / 3.782 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/7.367, allocations: 4 kB / 3.782 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/7.368, allocations: 316 kB / 3.783 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/7.368, allocations: 8 kB / 3.783 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/7.369, allocations: 27.95 kB / 3.783 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/7.369, allocations: 8 kB / 3.783 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/7.369, allocations: 4 kB / 3.783 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/7.371, allocations: 2.404 MB / 3.785 GB, free: 152.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/7.372, allocations: 347.3 kB / 3.785 GB, free: 152.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/7.372, allocations: 15.98 kB / 3.785 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/7.374, allocations: 163.8 kB / 3.786 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/7.374, allocations: 72.58 kB / 3.786 GB, free: 152.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/7.374, allocations: 47.95 kB / 3.786 GB, free: 152.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006862/7.374, allocations: 0.6275 MB / 3.786 GB, free: 151.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/7.374, allocations: 0 / 3.786 GB, free: 151.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001552/7.376, allocations: 471.3 kB / 3.787 GB, free: 151.1 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.00297/7.379, allocations: 2.162 MB / 3.789 GB, free: 148.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00156/7.381, allocations: 1.147 MB / 3.79 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/7.381, allocations: 0 / 3.79 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/7.381, allocations: 0.6133 MB / 3.791 GB, free: 147.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/7.383, allocations: 428.3 kB / 3.791 GB, free: 146.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/7.397, allocations: 3.015 MB / 3.794 GB, free: 143.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007439/7.397, allocations: 1.223 MB / 3.795 GB, free: 142.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001972/7.399, allocations: 376.2 kB / 3.796 GB, free: 142 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/7.4, allocations: 123.3 kB / 3.796 GB, free: 141.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/7.4, allocations: 0 / 3.796 GB, free: 141.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04008/7.44, allocations: 28.28 MB / 3.823 GB, free: 113.8 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