Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.533/2.533, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 180.6 kB / 491.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.81/1.81, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 95.88 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.544e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.346, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.896/6.242, allocations: 1.874 GB / 3.086 GB, free: 433.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/6.243, allocations: 86.58 kB / 3.086 GB, free: 433.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.726/9.969, allocations: 1.007 GB / 4.093 GB, free: 261.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/9.969, allocations: 2.156 kB / 4.093 GB, free: 261.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001892/9.969, allocations: 37.86 kB / 4.093 GB, free: 261.4 MB / 1.151 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.00782/9.977, allocations: 1.829 MB / 4.095 GB, free: 260.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/9.977, allocations: 10.25 kB / 4.095 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/9.981, allocations: 0.6871 MB / 4.095 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/9.985, allocations: 1.053 MB / 4.096 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/9.985, allocations: 27 kB / 4.096 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003846/9.986, allocations: 64.45 kB / 4.096 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001989/9.988, allocations: 0.8645 MB / 4.097 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/9.99, allocations: 1.138 MB / 4.098 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/9.99, allocations: 3.031 kB / 4.098 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/9.99, allocations: 6.562 kB / 4.098 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/9.99, allocations: 46.59 kB / 4.098 GB, free: 260.1 MB / 1.151 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.008427/9.999, allocations: 5.095 MB / 4.103 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/10, allocations: 0.8714 MB / 4.104 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/10, allocations: 480.4 kB / 4.105 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/10, allocations: 0.9399 MB / 4.106 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008453/10, allocations: 0.5876 MB / 4.106 GB, free: 256.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 5.52e-06/10, allocations: 0 / 4.106 GB, free: 256.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.00303/10.01, allocations: 1.127 MB / 4.107 GB, free: 256.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/10.01, allocations: 62.91 kB / 4.107 GB, free: 256.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/10.01, allocations: 0.848 MB / 4.108 GB, free: 256.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/10.01, allocations: 29.52 kB / 4.108 GB, free: 256.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/10.01, allocations: 0.58 MB / 4.109 GB, free: 256.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/10.01, allocations: 273.6 kB / 4.109 GB, free: 256 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/10.01, allocations: 2.062 kB / 4.109 GB, free: 256 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000127/10.01, allocations: 346.3 kB / 4.109 GB, free: 255.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/10.01, allocations: 405.1 kB / 4.11 GB, free: 255.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/10.01, allocations: 0.6872 MB / 4.11 GB, free: 255.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/10.01, allocations: 468 kB / 4.111 GB, free: 255.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/10.01, allocations: 0 / 4.111 GB, free: 255.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002031/10.01, allocations: 1.163 MB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/10.01, allocations: 8.781 kB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/10.01, allocations: 6.938 kB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.85e-05/10.01, allocations: 14.59 kB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/10.01, allocations: 312.1 kB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/10.01, allocations: 22.52 kB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/10.02, allocations: 185.6 kB / 4.113 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/10.02, allocations: 51.36 kB / 4.113 GB, free: 255.2 MB / 1.151 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.0003128/10.02, allocations: 143.6 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/10.02, allocations: 118.2 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/10.02, allocations: 1.18 MB / 4.114 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/10.02, allocations: 7.562 kB / 4.114 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/10.02, allocations: 6.875 kB / 4.114 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/10.02, allocations: 7.797 kB / 4.114 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/10.02, allocations: 2.6 MB / 4.117 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/10.02, allocations: 3.938 kB / 4.117 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/10.03, allocations: 251.1 kB / 4.117 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/10.03, allocations: 5.438 kB / 4.117 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/10.03, allocations: 30.17 kB / 4.117 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/10.03, allocations: 11.72 kB / 4.117 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/10.03, allocations: 7.797 kB / 4.117 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/10.03, allocations: 2.11 MB / 4.119 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007676/10.03, allocations: 336.3 kB / 4.119 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/10.03, allocations: 20.22 kB / 4.119 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/10.03, allocations: 121.8 kB / 4.119 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/10.03, allocations: 63.25 kB / 4.119 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/10.03, allocations: 45.56 kB / 4.12 GB, free: 252.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001111/10.03, allocations: 0.6375 MB / 4.12 GB, free: 252.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/10.03, allocations: 0 / 4.12 GB, free: 252.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002082/10.03, allocations: 449.5 kB / 4.121 GB, free: 252 MB / 1.151 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.004218/10.04, allocations: 2.162 MB / 4.123 GB, free: 251.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002042/10.04, allocations: 0.9927 MB / 4.124 GB, free: 251.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/10.04, allocations: 0 / 4.124 GB, free: 251.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009789/10.04, allocations: 0.5212 MB / 4.124 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/10.04, allocations: 421.9 kB / 4.125 GB, free: 250.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/10.05, allocations: 1.971 MB / 4.126 GB, free: 250 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/10.05, allocations: 1.218 MB / 4.128 GB, free: 249.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001823/10.05, allocations: 352.6 kB / 4.128 GB, free: 249.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/10.05, allocations: 118.5 kB / 4.128 GB, free: 249.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/10.05, allocations: 0 / 4.128 GB, free: 249.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06796/10.12, allocations: 27.08 MB / 4.155 GB, free: 229.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches