Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,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_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 249.5 MB / 257 MB, free: 6.898 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.0013/0.0013, allocations: 161 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.001017/0.001017, allocations: 94.69 kB / 0.6714 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.733e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.17/6.4, allocations: 2.186 GB / 3.072 GB, free: 179 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/6.4, allocations: 91.69 kB / 3.072 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.925/10.33, allocations: 0.9645 GB / 4.036 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.973e-06/10.33, allocations: 0 / 4.036 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001198/10.33, allocations: 38.05 kB / 4.036 GB, free: 183.3 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.006072/10.33, allocations: 1.72 MB / 4.038 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/10.33, allocations: 11 kB / 4.038 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/10.34, allocations: 0.6979 MB / 4.039 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/10.34, allocations: 1.026 MB / 4.04 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/10.34, allocations: 27 kB / 4.04 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/10.34, allocations: 56.34 kB / 4.04 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00166/10.34, allocations: 0.9559 MB / 4.041 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/10.34, allocations: 1.123 MB / 4.042 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/10.34, allocations: 1.875 kB / 4.042 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/10.34, allocations: 3.875 kB / 4.042 GB, free: 182 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/10.34, allocations: 45.48 kB / 4.042 GB, free: 182 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.007298/10.35, allocations: 5.092 MB / 4.047 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/10.35, allocations: 0.874 MB / 4.048 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/10.35, allocations: 478.1 kB / 4.048 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/10.35, allocations: 0.9471 MB / 4.049 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008158/10.35, allocations: 0.5822 MB / 4.049 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.317e-06/10.35, allocations: 0 / 4.049 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.002705/10.36, allocations: 1.134 MB / 4.051 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/10.36, allocations: 60.75 kB / 4.051 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/10.36, allocations: 0.8502 MB / 4.051 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/10.36, allocations: 28.95 kB / 4.051 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/10.36, allocations: 0.5972 MB / 4.052 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/10.36, allocations: 275.5 kB / 4.052 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/10.36, allocations: 0 / 4.052 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/10.36, allocations: 340.3 kB / 4.053 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/10.36, allocations: 406.7 kB / 4.053 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007295/10.36, allocations: 0.7188 MB / 4.054 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/10.36, allocations: 458.5 kB / 4.054 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/10.36, allocations: 3.719 kB / 4.054 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001779/10.36, allocations: 1.154 MB / 4.055 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/10.36, allocations: 12.97 kB / 4.055 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/10.36, allocations: 9.312 kB / 4.055 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/10.36, allocations: 12.62 kB / 4.055 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/10.36, allocations: 317.1 kB / 4.056 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/10.36, allocations: 20.55 kB / 4.056 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/10.37, allocations: 186 kB / 4.056 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/10.37, allocations: 57.05 kB / 4.056 GB, free: 176.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0002505/10.37, allocations: 142.5 kB / 4.056 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/10.37, allocations: 118 kB / 4.056 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/10.37, allocations: 1.177 MB / 4.057 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/10.37, allocations: 11.12 kB / 4.057 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.37, allocations: 7.109 kB / 4.057 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/10.37, allocations: 3.656 kB / 4.057 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/10.37, allocations: 2.607 MB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/10.37, allocations: 3.594 kB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/10.37, allocations: 257 kB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/10.37, allocations: 6.688 kB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.521e-05/10.37, allocations: 25.44 kB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/10.37, allocations: 14.08 kB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/10.37, allocations: 6.844 kB / 4.06 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/10.38, allocations: 2.124 MB / 4.062 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/10.38, allocations: 329.9 kB / 4.063 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/10.38, allocations: 16.69 kB / 4.063 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/10.38, allocations: 126 kB / 4.063 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/10.38, allocations: 67.89 kB / 4.063 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/10.38, allocations: 40.67 kB / 4.063 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000985/10.38, allocations: 0.6462 MB / 4.063 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/10.38, allocations: 0 / 4.063 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002362/10.38, allocations: 461.8 kB / 4.064 GB, free: 174.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (88): * Single equations (assignments): 82 * 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.004625/10.39, allocations: 2.147 MB / 4.066 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002157/10.39, allocations: 0.9981 MB / 4.067 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/10.39, allocations: 0 / 4.067 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008197/10.39, allocations: 0.5224 MB / 4.067 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/10.39, allocations: 436.9 kB / 4.068 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/10.4, allocations: 1.991 MB / 4.07 GB, free: 172 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/10.4, allocations: 1.206 MB / 4.071 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001687/10.4, allocations: 354.6 kB / 4.071 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/10.4, allocations: 111.5 kB / 4.071 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.804e-06/10.4, allocations: 0 / 4.071 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.0408/10.44, allocations: 27.52 MB / 4.098 GB, free: 159.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches