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.53/1.53, allocations: 249.3 MB / 261.8 MB, free: 5.949 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.001133/0.001133, allocations: 180.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009904/0.0009905, allocations: 92.36 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.256e-05/5.257e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2424, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.625/5.868, allocations: 2.186 GB / 3.078 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/5.868, allocations: 83.94 kB / 3.078 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.759/9.627, allocations: 0.9762 GB / 4.054 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.41e-07/9.627, allocations: 0 / 4.054 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001596/9.627, allocations: 43.88 kB / 4.054 GB, free: 176.9 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.005705/9.633, allocations: 1.726 MB / 4.056 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/9.633, allocations: 11.03 kB / 4.056 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/9.637, allocations: 0.6941 MB / 4.057 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/9.64, allocations: 1.015 MB / 4.058 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/9.64, allocations: 81.03 kB / 4.058 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/9.64, allocations: 93.84 kB / 4.058 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/9.642, allocations: 1.243 MB / 4.059 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/9.642, allocations: 0 / 4.059 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/9.642, allocations: 38.06 kB / 4.059 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/9.642, allocations: 57.31 kB / 4.059 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/9.644, allocations: 1.108 MB / 4.06 GB, free: 175.5 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.00673/9.651, allocations: 5.551 MB / 4.066 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/9.652, allocations: 0.8774 MB / 4.066 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/9.653, allocations: 498 kB / 4.067 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007558/9.654, allocations: 0.5752 MB / 4.067 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/9.654, allocations: 0.5331 MB / 4.068 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/9.654, allocations: 0 / 4.068 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002106/9.657, allocations: 0.9996 MB / 4.069 GB, free: 171 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/9.657, allocations: 67.89 kB / 4.069 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/9.658, allocations: 1.089 MB / 4.07 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/9.658, allocations: 46.8 kB / 4.07 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/9.658, allocations: 0.5955 MB / 4.071 GB, free: 170 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/9.659, allocations: 275.2 kB / 4.071 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/9.659, allocations: 17.44 kB / 4.071 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/9.659, allocations: 346.6 kB / 4.071 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/9.659, allocations: 370.2 kB / 4.072 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/9.66, allocations: 0.7007 MB / 4.072 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/9.661, allocations: 435.6 kB / 4.073 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/9.661, allocations: 3.25 kB / 4.073 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001669/9.662, allocations: 1.153 MB / 4.074 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/9.662, allocations: 8.781 kB / 4.074 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/9.663, allocations: 8.656 kB / 4.074 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/9.663, allocations: 12.03 kB / 4.074 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/9.664, allocations: 303.7 kB / 4.074 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/9.664, allocations: 21.53 kB / 4.074 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/9.665, allocations: 235.7 kB / 4.074 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/9.665, allocations: 52.59 kB / 4.074 GB, free: 168.1 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.0002073/9.666, allocations: 176.9 kB / 4.075 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/9.666, allocations: 131 kB / 4.075 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/9.668, allocations: 1.111 MB / 4.076 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/9.668, allocations: 7.844 kB / 4.076 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/9.668, allocations: 6.672 kB / 4.076 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/9.668, allocations: 3.797 kB / 4.076 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/9.672, allocations: 2.569 MB / 4.078 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/9.672, allocations: 3.938 kB / 4.078 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/9.673, allocations: 235.6 kB / 4.079 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/9.673, allocations: 7.094 kB / 4.079 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/9.673, allocations: 38.8 kB / 4.079 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/9.673, allocations: 14.53 kB / 4.079 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/9.673, allocations: 3.75 kB / 4.079 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/9.675, allocations: 2 MB / 4.081 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/9.676, allocations: 340.7 kB / 4.081 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/9.676, allocations: 23.48 kB / 4.081 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/9.677, allocations: 137.9 kB / 4.081 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/9.677, allocations: 66.45 kB / 4.081 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/9.677, allocations: 39.62 kB / 4.081 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001022/9.678, allocations: 0.844 MB / 4.082 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/9.678, allocations: 3.938 kB / 4.082 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001923/9.68, allocations: 0.4972 MB / 4.082 GB, free: 164.4 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.003226/9.683, allocations: 1.97 MB / 4.084 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001697/9.685, allocations: 0.9515 MB / 4.085 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/9.685, allocations: 0 / 4.085 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/9.686, allocations: 494 kB / 4.086 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/9.689, allocations: 0.5725 MB / 4.086 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/9.692, allocations: 2.003 MB / 4.088 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/9.693, allocations: 1.207 MB / 4.09 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001442/9.694, allocations: 359.1 kB / 4.09 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/9.695, allocations: 113.6 kB / 4.09 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/9.695, allocations: 0 / 4.09 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.06066/9.755, allocations: 45.99 MB / 4.135 GB, free: 122.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