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.329/1.329, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 173 kB / 326.5 MB, free: 2.266 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.585/1.585, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.0008637/0.0008635, allocations: 87.39 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 11.78 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2058, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.384/4.59, allocations: 2.186 GB / 3.086 GB, free: 34.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/4.59, allocations: 88.52 kB / 3.086 GB, free: 34.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.263/7.854, allocations: 0.9771 GB / 4.063 GB, free: 72.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/7.854, allocations: 0 / 4.063 GB, free: 72.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002122/7.854, allocations: 39.98 kB / 4.063 GB, free: 72.72 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.007622/7.862, allocations: 1.93 MB / 4.065 GB, free: 70.74 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/7.862, allocations: 8.031 kB / 4.065 GB, free: 70.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/7.866, allocations: 0.6966 MB / 4.066 GB, free: 70.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/7.87, allocations: 1.028 MB / 4.067 GB, free: 68.95 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/7.87, allocations: 70 kB / 4.067 GB, free: 68.88 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/7.87, allocations: 91.98 kB / 4.067 GB, free: 68.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/7.873, allocations: 1.43 MB / 4.069 GB, free: 67.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/7.873, allocations: 7.938 kB / 4.069 GB, free: 67.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/7.873, allocations: 36 kB / 4.069 GB, free: 67.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/7.873, allocations: 45.98 kB / 4.069 GB, free: 67.22 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/7.877, allocations: 1.534 MB / 4.07 GB, free: 65.68 MB / 0.8855 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.007342/7.884, allocations: 5.09 MB / 4.075 GB, free: 60.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/7.888, allocations: 1.236 MB / 4.076 GB, free: 59.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/7.889, allocations: 0.9371 MB / 4.077 GB, free: 57.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/7.89, allocations: 0.738 MB / 4.078 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 4.197e-06/7.89, allocations: 0 / 4.078 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.005998/7.896, allocations: 1.968 MB / 4.08 GB, free: 55.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/7.896, allocations: 67.98 kB / 4.08 GB, free: 55.17 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/7.899, allocations: 1.128 MB / 4.081 GB, free: 54.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/7.899, allocations: 49.7 kB / 4.081 GB, free: 53.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/7.899, allocations: 0.5874 MB / 4.082 GB, free: 53.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/7.9, allocations: 280 kB / 4.082 GB, free: 53.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/7.9, allocations: 20 kB / 4.082 GB, free: 53.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001/7.9, allocations: 341.9 kB / 4.082 GB, free: 52.74 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/7.901, allocations: 0.5523 MB / 4.083 GB, free: 52.19 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/7.903, allocations: 0.883 MB / 4.084 GB, free: 51.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/7.904, allocations: 0.618 MB / 4.084 GB, free: 50.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/7.904, allocations: 0 / 4.084 GB, free: 50.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003683/7.908, allocations: 1.534 MB / 4.086 GB, free: 49.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/7.908, allocations: 12.77 kB / 4.086 GB, free: 49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/7.908, allocations: 4 kB / 4.086 GB, free: 49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/7.908, allocations: 19.94 kB / 4.086 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/7.91, allocations: 303.6 kB / 4.086 GB, free: 48.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/7.91, allocations: 15.94 kB / 4.086 GB, free: 48.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/7.911, allocations: 230.7 kB / 4.086 GB, free: 48.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/7.912, allocations: 55.97 kB / 4.086 GB, free: 48.39 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 () * 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.0007407/7.912, allocations: 344.2 kB / 4.087 GB, free: 48.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/7.913, allocations: 142.3 kB / 4.087 GB, free: 47.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/7.917, allocations: 1.515 MB / 4.088 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/7.917, allocations: 12 kB / 4.088 GB, free: 46.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/7.917, allocations: 0 / 4.088 GB, free: 46.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/7.917, allocations: 3.984 kB / 4.088 GB, free: 46.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006118/7.923, allocations: 2.974 MB / 4.091 GB, free: 43.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/7.923, allocations: 4.5 kB / 4.091 GB, free: 43.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/7.924, allocations: 239.7 kB / 4.091 GB, free: 43.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.965e-05/7.924, allocations: 11.98 kB / 4.092 GB, free: 43.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/7.924, allocations: 23.98 kB / 4.092 GB, free: 43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/7.924, allocations: 11.94 kB / 4.092 GB, free: 42.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/7.924, allocations: 4 kB / 4.092 GB, free: 42.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/7.929, allocations: 2.604 MB / 4.094 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009148/7.93, allocations: 347 kB / 4.094 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/7.931, allocations: 31.92 kB / 4.094 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/7.932, allocations: 135.8 kB / 4.095 GB, free: 39.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/7.932, allocations: 60.58 kB / 4.095 GB, free: 39.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.054e-05/7.932, allocations: 35.97 kB / 4.095 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001318/7.934, allocations: 0.8843 MB / 4.096 GB, free: 38.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/7.934, allocations: 0 / 4.096 GB, free: 38.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002027/7.936, allocations: 0.4919 MB / 4.096 GB, free: 38.18 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) * Number of clocked states: 0 () * 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.003232/7.939, allocations: 2.02 MB / 4.098 GB, free: 36.24 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003498/7.943, allocations: 1.33 MB / 4.099 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/7.943, allocations: 0 / 4.099 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/7.944, allocations: 0.6761 MB / 4.1 GB, free: 34.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/7.948, allocations: 0.5993 MB / 4.101 GB, free: 33.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/7.954, allocations: 3.006 MB / 4.103 GB, free: 30.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/7.954, allocations: 1.208 MB / 4.105 GB, free: 29.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001846/7.956, allocations: 358.2 kB / 4.105 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/7.957, allocations: 115.4 kB / 4.105 GB, free: 28.84 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/7.957, allocations: 0 / 4.105 GB, free: 28.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.5135/8.47, allocations: 42.41 MB / 4.147 GB, free: 180.1 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