Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001276, allocations: 187.4 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 84.27 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.883e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.016/6.274, allocations: 2.186 GB / 3.072 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/6.275, allocations: 85.58 kB / 3.072 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.888/10.16, allocations: 0.9646 GB / 4.036 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/10.16, allocations: 0 / 4.036 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001227/10.16, allocations: 46 kB / 4.036 GB, free: 183.1 MB / 0.8855 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.006122/10.17, allocations: 1.718 MB / 4.038 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/10.17, allocations: 9.375 kB / 4.038 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/10.17, allocations: 0.6956 MB / 4.039 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/10.18, allocations: 1.027 MB / 4.04 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/10.18, allocations: 29.34 kB / 4.04 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/10.18, allocations: 54.84 kB / 4.04 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0016/10.18, allocations: 0.9232 MB / 4.041 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/10.18, allocations: 1.131 MB / 4.042 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/10.18, allocations: 2.906 kB / 4.042 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/10.18, allocations: 3.75 kB / 4.042 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/10.18, allocations: 51.97 kB / 4.042 GB, free: 181.8 MB / 0.8855 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.007784/10.19, allocations: 5.571 MB / 4.047 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/10.19, allocations: 0.8971 MB / 4.048 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/10.19, allocations: 487.1 kB / 4.049 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/10.19, allocations: 0.5772 MB / 4.049 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007858/10.19, allocations: 0.5806 MB / 4.05 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 4.077e-06/10.19, allocations: 0 / 4.05 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002151/10.19, allocations: 1.067 MB / 4.051 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/10.19, allocations: 60.03 kB / 4.051 GB, free: 178 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009842/10.19, allocations: 0.8556 MB / 4.052 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/10.19, allocations: 33.2 kB / 4.052 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/10.19, allocations: 0.5994 MB / 4.052 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/10.19, allocations: 259.4 kB / 4.052 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/10.19, allocations: 0 / 4.052 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/10.2, allocations: 347.7 kB / 4.053 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/10.2, allocations: 401.9 kB / 4.053 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/10.2, allocations: 0.728 MB / 4.054 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/10.2, allocations: 456.9 kB / 4.054 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/10.2, allocations: 10.12 kB / 4.054 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001777/10.2, allocations: 1.155 MB / 4.055 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/10.2, allocations: 10.66 kB / 4.056 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/10.2, allocations: 7.281 kB / 4.056 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/10.2, allocations: 16.78 kB / 4.056 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/10.2, allocations: 311.4 kB / 4.056 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/10.2, allocations: 21.73 kB / 4.056 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/10.2, allocations: 185.3 kB / 4.056 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/10.2, allocations: 60.92 kB / 4.056 GB, free: 176.5 MB / 0.8855 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 () * 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.000237/10.2, allocations: 146.1 kB / 4.056 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/10.2, allocations: 117.2 kB / 4.056 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/10.2, allocations: 1.16 MB / 4.057 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/10.2, allocations: 7.562 kB / 4.057 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/10.2, allocations: 0 / 4.057 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/10.2, allocations: 3.938 kB / 4.057 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/10.21, allocations: 2.579 MB / 4.06 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/10.21, allocations: 6.156 kB / 4.06 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/10.21, allocations: 251.2 kB / 4.06 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/10.21, allocations: 6.969 kB / 4.06 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.586e-05/10.21, allocations: 35.42 kB / 4.06 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/10.21, allocations: 10.31 kB / 4.06 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/10.21, allocations: 3.312 kB / 4.06 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/10.21, allocations: 2.096 MB / 4.062 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/10.21, allocations: 325.8 kB / 4.063 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/10.21, allocations: 12.61 kB / 4.063 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/10.22, allocations: 126.5 kB / 4.063 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/10.22, allocations: 70.11 kB / 4.063 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/10.22, allocations: 41.09 kB / 4.063 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001041/10.22, allocations: 0.6463 MB / 4.064 GB, free: 174 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/10.22, allocations: 0 / 4.064 GB, free: 174 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002019/10.22, allocations: 461.5 kB / 4.064 GB, free: 173.9 MB / 0.8855 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) * 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.003997/10.22, allocations: 2.15 MB / 4.066 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001946/10.22, allocations: 0.9955 MB / 4.067 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/10.22, allocations: 7.594 kB / 4.067 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008646/10.23, allocations: 0.5115 MB / 4.068 GB, free: 172.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/10.23, allocations: 435.4 kB / 4.068 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/10.24, allocations: 2.682 MB / 4.071 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/10.24, allocations: 1.213 MB / 4.072 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001992/10.25, allocations: 350.6 kB / 4.072 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/10.25, allocations: 114.8 kB / 4.072 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/10.25, allocations: 2.25 kB / 4.072 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.0475/10.29, allocations: 27.34 MB / 4.099 GB, free: 159.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches