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.261/2.261, allocations: 393.5 MB / 408.5 MB, free: 11.05 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.001199/0.001199, allocations: 187.2 kB / 0.4902 GB, free: 2.25 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.587/1.587, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009754/0.0009755, allocations: 98.66 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003881, allocations: 7 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3472, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/5.758, allocations: 1.875 GB / 3.104 GB, free: 77.76 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004041/5.759, allocations: 89.12 kB / 3.104 GB, free: 77.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.659/10.42, allocations: 1.019 GB / 4.123 GB, free: 273.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.547e-06/10.42, allocations: 3.875 kB / 4.123 GB, free: 273.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002827/10.42, allocations: 43.92 kB / 4.123 GB, free: 273.2 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.0147/10.43, allocations: 2.033 MB / 4.125 GB, free: 272.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/10.43, allocations: 8.375 kB / 4.125 GB, free: 272.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/10.44, allocations: 0.6927 MB / 4.126 GB, free: 272.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/10.45, allocations: 1.057 MB / 4.127 GB, free: 272.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/10.45, allocations: 63.67 kB / 4.127 GB, free: 272.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004908/10.45, allocations: 82.19 kB / 4.127 GB, free: 272.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/10.45, allocations: 1.458 MB / 4.128 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/10.45, allocations: 3.844 kB / 4.128 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/10.45, allocations: 32.94 kB / 4.128 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.986e-05/10.45, allocations: 40.44 kB / 4.128 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/10.45, allocations: 1.411 MB / 4.13 GB, free: 272.1 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.009636/10.46, allocations: 5.309 MB / 4.135 GB, free: 269.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/10.47, allocations: 1.305 MB / 4.136 GB, free: 269.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/10.47, allocations: 0.9432 MB / 4.137 GB, free: 268.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002664/10.47, allocations: 0.8012 MB / 4.138 GB, free: 268.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 5.249e-06/10.47, allocations: 0 / 4.138 GB, free: 268.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.0079/10.48, allocations: 2.134 MB / 4.14 GB, free: 268.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/10.48, allocations: 61 kB / 4.14 GB, free: 268.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/10.48, allocations: 1.119 MB / 4.141 GB, free: 268.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/10.48, allocations: 46.89 kB / 4.141 GB, free: 268.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/10.48, allocations: 0.5738 MB / 4.142 GB, free: 268.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/10.48, allocations: 283 kB / 4.142 GB, free: 268 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/10.48, allocations: 20.84 kB / 4.142 GB, free: 268 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001238/10.48, allocations: 355 kB / 4.142 GB, free: 267.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/10.49, allocations: 0.6031 MB / 4.143 GB, free: 267.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/10.49, allocations: 0.9154 MB / 4.144 GB, free: 267.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/10.49, allocations: 0.6462 MB / 4.144 GB, free: 267.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.046e-06/10.49, allocations: 3.969 kB / 4.144 GB, free: 267.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00462/10.49, allocations: 1.642 MB / 4.146 GB, free: 267.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/10.49, allocations: 12.12 kB / 4.146 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/10.49, allocations: 7 kB / 4.146 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/10.49, allocations: 10.69 kB / 4.146 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/10.5, allocations: 313.6 kB / 4.146 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.858e-05/10.5, allocations: 14.84 kB / 4.146 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/10.5, allocations: 235 kB / 4.147 GB, free: 267.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/10.5, allocations: 60.06 kB / 4.147 GB, free: 267.2 MB / 1.167 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.000913/10.5, allocations: 339.3 kB / 4.147 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/10.5, allocations: 136.6 kB / 4.147 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/10.5, allocations: 1.632 MB / 4.149 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/10.5, allocations: 11.12 kB / 4.149 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/10.5, allocations: 0 / 4.149 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/10.5, allocations: 14.89 kB / 4.149 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/10.51, allocations: 3.133 MB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/10.51, allocations: 6.969 kB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/10.51, allocations: 260.1 kB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/10.51, allocations: 7.656 kB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/10.51, allocations: 33.56 kB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/10.51, allocations: 12.06 kB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/10.51, allocations: 6.406 kB / 4.152 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/10.52, allocations: 2.792 MB / 4.155 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/10.52, allocations: 354.7 kB / 4.155 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000441/10.52, allocations: 29.31 kB / 4.155 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/10.52, allocations: 134.2 kB / 4.155 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/10.52, allocations: 69.67 kB / 4.155 GB, free: 265.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/10.52, allocations: 43.98 kB / 4.155 GB, free: 265.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001625/10.52, allocations: 0.8738 MB / 4.156 GB, free: 265.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/10.52, allocations: 0 / 4.156 GB, free: 265.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00232/10.53, allocations: 0.5012 MB / 4.157 GB, free: 265.5 MB / 1.167 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.003772/10.53, allocations: 2.019 MB / 4.159 GB, free: 265 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003915/10.53, allocations: 1.445 MB / 4.16 GB, free: 264.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/10.53, allocations: 0 / 4.16 GB, free: 264.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/10.54, allocations: 0.7285 MB / 4.161 GB, free: 264.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/10.54, allocations: 0.5851 MB / 4.161 GB, free: 264.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/10.54, allocations: 3.038 MB / 4.164 GB, free: 263.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/10.55, allocations: 1.205 MB / 4.166 GB, free: 263 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002014/10.55, allocations: 382.5 kB / 4.166 GB, free: 263 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/10.55, allocations: 133.2 kB / 4.166 GB, free: 263 MB / 1.167 GB Notification: Performance of SimCode: time 2.855e-06/10.55, allocations: 0 / 4.166 GB, free: 263 MB / 1.167 GB Notification: Performance of Templates: time 0.06072/10.61, allocations: 42.69 MB / 4.208 GB, free: 261.5 MB / 1.167 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