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.544/1.544, allocations: 249.3 MB / 261.9 MB, free: 5.914 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.001473/0.001473, allocations: 170.2 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.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0009038/0.0009038, allocations: 90.48 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.341e-05/5.345e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2265, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.118, allocations: 2.186 GB / 3.078 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/6.118, allocations: 86.89 kB / 3.078 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.894/10.01, allocations: 0.9761 GB / 4.054 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.403e-06/10.01, allocations: 0 / 4.054 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000208/10.01, allocations: 48.55 kB / 4.054 GB, free: 170.8 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.007008/10.02, allocations: 1.713 MB / 4.056 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/10.02, allocations: 11.31 kB / 4.056 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/10.02, allocations: 0.6954 MB / 4.056 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/10.03, allocations: 1.025 MB / 4.057 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/10.03, allocations: 69.95 kB / 4.057 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/10.03, allocations: 95.97 kB / 4.058 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/10.03, allocations: 1.231 MB / 4.059 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/10.03, allocations: 7.938 kB / 4.059 GB, free: 166 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/10.03, allocations: 32 kB / 4.059 GB, free: 166 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/10.03, allocations: 51.14 kB / 4.059 GB, free: 166 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/10.03, allocations: 1.14 MB / 4.06 GB, free: 164.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.007314/10.04, allocations: 5.089 MB / 4.065 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/10.04, allocations: 0.8642 MB / 4.066 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/10.04, allocations: 487 kB / 4.066 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/10.04, allocations: 0.945 MB / 4.067 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007989/10.04, allocations: 0.5409 MB / 4.068 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/10.04, allocations: 0 / 4.068 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.002532/10.05, allocations: 1.061 MB / 4.069 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/10.05, allocations: 60.19 kB / 4.069 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/10.05, allocations: 1.119 MB / 4.07 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/10.05, allocations: 45.7 kB / 4.07 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/10.05, allocations: 0.5909 MB / 4.071 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/10.05, allocations: 288 kB / 4.071 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/10.05, allocations: 20 kB / 4.071 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/10.05, allocations: 334 kB / 4.071 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/10.05, allocations: 377.9 kB / 4.071 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007153/10.05, allocations: 0.6917 MB / 4.072 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/10.05, allocations: 439.8 kB / 4.073 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/10.05, allocations: 0 / 4.073 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001786/10.05, allocations: 1.155 MB / 4.074 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/10.05, allocations: 12.03 kB / 4.074 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/10.05, allocations: 8 kB / 4.074 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/10.05, allocations: 12 kB / 4.074 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/10.05, allocations: 295.6 kB / 4.074 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/10.05, allocations: 15.94 kB / 4.074 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/10.06, allocations: 238.6 kB / 4.074 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/10.06, allocations: 55.97 kB / 4.074 GB, free: 149.5 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.0002355/10.06, allocations: 170.9 kB / 4.074 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/10.06, allocations: 138.3 kB / 4.075 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/10.06, allocations: 1.135 MB / 4.076 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/10.06, allocations: 8 kB / 4.076 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/10.06, allocations: 3.984 kB / 4.076 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/10.06, allocations: 3.984 kB / 4.076 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/10.06, allocations: 2.593 MB / 4.078 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/10.06, allocations: 4 kB / 4.078 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/10.06, allocations: 244.1 kB / 4.079 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/10.06, allocations: 8 kB / 4.079 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/10.06, allocations: 27.98 kB / 4.079 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/10.06, allocations: 15.92 kB / 4.079 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/10.06, allocations: 7.953 kB / 4.079 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/10.07, allocations: 2.037 MB / 4.081 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/10.07, allocations: 343 kB / 4.081 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/10.07, allocations: 24 kB / 4.081 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/10.07, allocations: 135.9 kB / 4.081 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/10.07, allocations: 64.66 kB / 4.081 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/10.07, allocations: 39.97 kB / 4.081 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001264/10.07, allocations: 0.8707 MB / 4.082 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/10.07, allocations: 0 / 4.082 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001973/10.07, allocations: 0.4919 MB / 4.082 GB, free: 140.8 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.003323/10.08, allocations: 1.966 MB / 4.084 GB, free: 139 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001679/10.08, allocations: 0.9527 MB / 4.085 GB, free: 138 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/10.08, allocations: 1.875 kB / 4.085 GB, free: 138 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/10.08, allocations: 0.4932 MB / 4.086 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/10.08, allocations: 0.6076 MB / 4.086 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/10.08, allocations: 2.014 MB / 4.088 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/10.09, allocations: 1.208 MB / 4.09 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001641/10.09, allocations: 357.8 kB / 4.09 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/10.09, allocations: 115.4 kB / 4.09 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.192e-06/10.09, allocations: 0 / 4.09 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.06519/10.15, allocations: 46.85 MB / 4.136 GB, free: 86.57 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