Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,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|heaCooUnl.TSet|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.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|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.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.409/2.409, allocations: 393.5 MB / 408.4 MB, free: 11 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.001294/0.001294, allocations: 187.2 kB / 0.4902 GB, free: 2.23 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.529/1.529, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.0009477/0.0009476, allocations: 101.5 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 10.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.08/5.373, allocations: 1.875 GB / 3.104 GB, free: 108 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/5.373, allocations: 88.45 kB / 3.104 GB, free: 107.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.326/8.699, allocations: 0.687 GB / 3.791 GB, free: 287.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.924e-06/8.699, allocations: 2.094 kB / 3.791 GB, free: 287.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002339/8.699, allocations: 40.22 kB / 3.791 GB, free: 287.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009651/8.709, allocations: 2.068 MB / 3.793 GB, free: 287 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/8.709, allocations: 7.781 kB / 3.793 GB, free: 287 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/8.715, allocations: 0.8736 MB / 3.794 GB, free: 286.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/8.72, allocations: 1.139 MB / 3.795 GB, free: 286.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/8.72, allocations: 70.28 kB / 3.795 GB, free: 286.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/8.72, allocations: 90.16 kB / 3.795 GB, free: 286.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004506/8.725, allocations: 1.558 MB / 3.797 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/8.725, allocations: 0 / 3.797 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/8.725, allocations: 31.41 kB / 3.797 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/8.725, allocations: 43.27 kB / 3.797 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/8.73, allocations: 1.666 MB / 3.798 GB, free: 286.5 MB / 1.167 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.01004/8.74, allocations: 5.042 MB / 3.803 GB, free: 284.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/8.744, allocations: 1.642 MB / 3.805 GB, free: 284.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/8.746, allocations: 0.946 MB / 3.806 GB, free: 283.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/8.748, allocations: 0.9693 MB / 3.807 GB, free: 283.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=95): time 3.257e-06/8.748, allocations: 1.781 kB / 3.807 GB, free: 283.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.00765/8.756, allocations: 2.589 MB / 3.809 GB, free: 283.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/8.756, allocations: 66.78 kB / 3.809 GB, free: 283.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/8.758, allocations: 1.061 MB / 3.81 GB, free: 283.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/8.758, allocations: 47.86 kB / 3.81 GB, free: 283.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/8.758, allocations: 0.5489 MB / 3.811 GB, free: 282.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/8.759, allocations: 324.2 kB / 3.811 GB, free: 282.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/8.759, allocations: 23.69 kB / 3.811 GB, free: 282.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001042/8.759, allocations: 342.6 kB / 3.812 GB, free: 282.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/8.761, allocations: 0.7517 MB / 3.812 GB, free: 282.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/8.763, allocations: 0.9825 MB / 3.813 GB, free: 281.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/8.765, allocations: 0.7771 MB / 3.814 GB, free: 281.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/8.765, allocations: 3.938 kB / 3.814 GB, free: 281.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005035/8.771, allocations: 1.865 MB / 3.816 GB, free: 281.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/8.771, allocations: 15.42 kB / 3.816 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/8.771, allocations: 3.906 kB / 3.816 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/8.771, allocations: 11.12 kB / 3.816 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/8.772, allocations: 358.6 kB / 3.816 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/8.772, allocations: 10.41 kB / 3.816 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/8.775, allocations: 259.9 kB / 3.816 GB, free: 281 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/8.775, allocations: 55.52 kB / 3.816 GB, free: 281 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0009209/8.776, allocations: 339.7 kB / 3.817 GB, free: 280.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/8.776, allocations: 137.5 kB / 3.817 GB, free: 280.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/8.782, allocations: 1.956 MB / 3.819 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/8.782, allocations: 10.72 kB / 3.819 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/8.782, allocations: 0 / 3.819 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/8.782, allocations: 3.984 kB / 3.819 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008776/8.79, allocations: 3.584 MB / 3.822 GB, free: 278.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/8.791, allocations: 3.938 kB / 3.822 GB, free: 278.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/8.792, allocations: 315 kB / 3.823 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/8.792, allocations: 10.88 kB / 3.823 GB, free: 278 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/8.793, allocations: 40.02 kB / 3.823 GB, free: 277.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/8.793, allocations: 8.938 kB / 3.823 GB, free: 277.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/8.793, allocations: 6.5 kB / 3.823 GB, free: 277.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007565/8.8, allocations: 3.255 MB / 3.826 GB, free: 276.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/8.801, allocations: 377.2 kB / 3.826 GB, free: 275.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/8.802, allocations: 31.81 kB / 3.826 GB, free: 275.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/8.804, allocations: 178.8 kB / 3.826 GB, free: 275.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/8.804, allocations: 74.52 kB / 3.827 GB, free: 275.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/8.804, allocations: 47.09 kB / 3.827 GB, free: 275.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001491/8.806, allocations: 0.8314 MB / 3.827 GB, free: 274.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/8.806, allocations: 0 / 3.827 GB, free: 274.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002356/8.808, allocations: 0.5308 MB / 3.828 GB, free: 274.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.003922/8.812, allocations: 2.029 MB / 3.83 GB, free: 272.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004738/8.817, allocations: 1.731 MB / 3.832 GB, free: 270.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/8.817, allocations: 3.375 kB / 3.832 GB, free: 270.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/8.819, allocations: 0.8949 MB / 3.832 GB, free: 270 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/8.822, allocations: 0.5709 MB / 3.833 GB, free: 269.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/8.84, allocations: 4.204 MB / 3.837 GB, free: 265.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/8.841, allocations: 1.216 MB / 3.838 GB, free: 264.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002394/8.843, allocations: 399 kB / 3.839 GB, free: 263.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/8.844, allocations: 135.4 kB / 3.839 GB, free: 263.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.804e-06/8.844, allocations: 0 / 3.839 GB, free: 263.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06043/8.905, allocations: 43.25 MB / 3.881 GB, free: 221.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches