Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.255/2.255, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001547/0.001547, allocations: 180 kB / 0.4902 GB, free: 2.242 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.654/1.654, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001308/0.001308, allocations: 98.14 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004278, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.367/5.721, allocations: 1.875 GB / 3.104 GB, free: 78.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/5.721, allocations: 87.41 kB / 3.104 GB, free: 78.13 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.273/9.995, allocations: 1.019 GB / 4.123 GB, free: 272.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.284e-06/9.995, allocations: 3.75 kB / 4.123 GB, free: 272.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001268/9.995, allocations: 49.56 kB / 4.123 GB, free: 272.9 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.008072/10, allocations: 2.031 MB / 4.125 GB, free: 272.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/10, allocations: 10.44 kB / 4.125 GB, free: 272.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/10.01, allocations: 0.6976 MB / 4.126 GB, free: 272.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/10.01, allocations: 1.046 MB / 4.127 GB, free: 271.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/10.01, allocations: 64.86 kB / 4.127 GB, free: 271.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/10.01, allocations: 92.47 kB / 4.127 GB, free: 271.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/10.01, allocations: 1.462 MB / 4.128 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/10.01, allocations: 6.969 kB / 4.128 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/10.01, allocations: 33.34 kB / 4.128 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/10.01, allocations: 39.42 kB / 4.128 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/10.02, allocations: 1.384 MB / 4.13 GB, free: 271.7 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.007906/10.03, allocations: 5.788 MB / 4.135 GB, free: 268.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/10.03, allocations: 1.381 MB / 4.137 GB, free: 268.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/10.03, allocations: 0.5839 MB / 4.137 GB, free: 268.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/10.03, allocations: 0.7909 MB / 4.138 GB, free: 268.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/10.03, allocations: 0 / 4.138 GB, free: 268.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.00555/10.04, allocations: 2.077 MB / 4.14 GB, free: 268 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/10.04, allocations: 59.12 kB / 4.14 GB, free: 267.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/10.04, allocations: 1.095 MB / 4.141 GB, free: 267.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/10.04, allocations: 47.84 kB / 4.141 GB, free: 267.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/10.04, allocations: 0.5842 MB / 4.142 GB, free: 267.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/10.04, allocations: 272 kB / 4.142 GB, free: 267.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/10.04, allocations: 20.09 kB / 4.142 GB, free: 267.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/10.04, allocations: 343.2 kB / 4.143 GB, free: 267.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/10.04, allocations: 0.6076 MB / 4.143 GB, free: 267.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/10.04, allocations: 0.9203 MB / 4.144 GB, free: 266.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/10.05, allocations: 0.6429 MB / 4.145 GB, free: 266.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/10.05, allocations: 0 / 4.145 GB, free: 266.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004314/10.05, allocations: 1.641 MB / 4.146 GB, free: 266.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/10.05, allocations: 11.66 kB / 4.146 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/10.05, allocations: 7.844 kB / 4.146 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/10.05, allocations: 17.3 kB / 4.146 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/10.05, allocations: 311.9 kB / 4.147 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/10.05, allocations: 18 kB / 4.147 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/10.05, allocations: 231.2 kB / 4.147 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/10.05, allocations: 58.08 kB / 4.147 GB, free: 266.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.00069/10.05, allocations: 335.3 kB / 4.147 GB, free: 266.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/10.06, allocations: 138.3 kB / 4.147 GB, free: 266.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/10.06, allocations: 1.626 MB / 4.149 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/10.06, allocations: 11.95 kB / 4.149 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.06, allocations: 0 / 4.149 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/10.06, allocations: 3.328 kB / 4.149 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/10.06, allocations: 3.114 MB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/10.06, allocations: 3.938 kB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/10.07, allocations: 257.2 kB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/10.07, allocations: 10.83 kB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.659e-05/10.07, allocations: 29.64 kB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/10.07, allocations: 15.05 kB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/10.07, allocations: 3.906 kB / 4.152 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005396/10.07, allocations: 2.75 MB / 4.155 GB, free: 265.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008892/10.07, allocations: 351.5 kB / 4.155 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/10.07, allocations: 20.77 kB / 4.155 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/10.07, allocations: 152 kB / 4.155 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/10.07, allocations: 58.25 kB / 4.156 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/10.07, allocations: 47.58 kB / 4.156 GB, free: 265.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001016/10.08, allocations: 0.8518 MB / 4.156 GB, free: 265 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/10.08, allocations: 0 / 4.156 GB, free: 265 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001946/10.08, allocations: 0.5101 MB / 4.157 GB, free: 265 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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.003842/10.08, allocations: 2.011 MB / 4.159 GB, free: 264.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003962/10.09, allocations: 1.436 MB / 4.16 GB, free: 264.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/10.09, allocations: 3.5 kB / 4.16 GB, free: 264.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/10.09, allocations: 0.7226 MB / 4.161 GB, free: 264.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/10.09, allocations: 0.5567 MB / 4.162 GB, free: 264.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/10.11, allocations: 3.755 MB / 4.165 GB, free: 263.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/10.11, allocations: 1.206 MB / 4.166 GB, free: 262.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002038/10.11, allocations: 385.6 kB / 4.167 GB, free: 262.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/10.11, allocations: 129.5 kB / 4.167 GB, free: 262.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.784e-06/10.11, allocations: 0 / 4.167 GB, free: 262.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05985/10.17, allocations: 41.84 MB / 4.208 GB, free: 261 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches