Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.611/2.611, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001109/0.001109, allocations: 179.2 kB / 0.4902 GB, free: 2.258 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.642/1.642, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.00102/0.00102, allocations: 95.45 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 11.72 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3589, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.3/6.659, allocations: 2.159 GB / 3.388 GB, free: 274.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/6.659, allocations: 88.7 kB / 3.388 GB, free: 274.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.908/8.568, allocations: 0.602 GB / 3.99 GB, free: 119.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.994e-06/8.568, allocations: 0 / 3.99 GB, free: 119.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001624/8.568, allocations: 39.98 kB / 3.99 GB, free: 119.9 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004171/8.572, allocations: 1.544 MB / 3.992 GB, free: 118.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/8.572, allocations: 8.031 kB / 3.992 GB, free: 118.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/8.576, allocations: 0.572 MB / 3.992 GB, free: 117.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/8.578, allocations: 0.9299 MB / 3.993 GB, free: 116.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/8.579, allocations: 50 kB / 3.993 GB, free: 116.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/8.579, allocations: 83.91 kB / 3.993 GB, free: 116.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/8.581, allocations: 1.096 MB / 3.995 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/8.581, allocations: 7.938 kB / 3.995 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/8.581, allocations: 28 kB / 3.995 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/8.581, allocations: 29.3 kB / 3.995 GB, free: 115.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/8.584, allocations: 1.008 MB / 3.996 GB, free: 114.3 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.006116/8.59, allocations: 4.957 MB / 4 GB, free: 109.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/8.593, allocations: 0.9653 MB / 4.001 GB, free: 108.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009939/8.594, allocations: 1.596 MB / 4.003 GB, free: 106.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/8.596, allocations: 0.569 MB / 4.003 GB, free: 105.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 4.498e-06/8.596, allocations: 0 / 4.003 GB, free: 105.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.004297/8.6, allocations: 1.512 MB / 4.005 GB, free: 104 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/8.6, allocations: 63.97 kB / 4.005 GB, free: 104 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/8.601, allocations: 0.9851 MB / 4.006 GB, free: 103 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/8.602, allocations: 45.7 kB / 4.006 GB, free: 102.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/8.602, allocations: 0.5434 MB / 4.007 GB, free: 102.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/8.602, allocations: 209.1 kB / 4.007 GB, free: 102.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/8.602, allocations: 19.94 kB / 4.007 GB, free: 102.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/8.602, allocations: 334 kB / 4.007 GB, free: 101.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/8.604, allocations: 457.6 kB / 4.008 GB, free: 101.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/8.605, allocations: 0.7529 MB / 4.008 GB, free: 100.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/8.606, allocations: 497.8 kB / 4.009 GB, free: 100 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/8.606, allocations: 4 kB / 4.009 GB, free: 99.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003418/8.61, allocations: 1.282 MB / 4.01 GB, free: 98.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/8.61, allocations: 15.94 kB / 4.01 GB, free: 98.69 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/8.61, allocations: 8 kB / 4.01 GB, free: 98.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/8.61, allocations: 16 kB / 4.01 GB, free: 98.66 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/8.611, allocations: 272.2 kB / 4.01 GB, free: 98.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/8.611, allocations: 23.88 kB / 4.01 GB, free: 98.38 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/8.613, allocations: 210.9 kB / 4.011 GB, free: 98.17 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/8.613, allocations: 51.97 kB / 4.011 GB, free: 98.12 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005692/8.613, allocations: 299.7 kB / 4.011 GB, free: 97.81 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/8.614, allocations: 114.6 kB / 4.011 GB, free: 97.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/8.617, allocations: 1.432 MB / 4.012 GB, free: 96.26 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/8.617, allocations: 8 kB / 4.012 GB, free: 96.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/8.617, allocations: 0 / 4.012 GB, free: 96.25 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/8.617, allocations: 7.938 kB / 4.012 GB, free: 96.24 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/8.622, allocations: 2.481 MB / 4.015 GB, free: 93.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/8.622, allocations: 0 / 4.015 GB, free: 93.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/8.623, allocations: 199.9 kB / 4.015 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/8.623, allocations: 4 kB / 4.015 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/8.623, allocations: 27.97 kB / 4.015 GB, free: 93.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/8.623, allocations: 8 kB / 4.015 GB, free: 93.46 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/8.623, allocations: 0 / 4.015 GB, free: 93.46 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/8.627, allocations: 2.125 MB / 4.017 GB, free: 91.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/8.628, allocations: 311.2 kB / 4.017 GB, free: 90.95 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/8.628, allocations: 16 kB / 4.017 GB, free: 90.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/8.629, allocations: 135.8 kB / 4.018 GB, free: 90.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/8.629, allocations: 56.42 kB / 4.018 GB, free: 90.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/8.63, allocations: 35.92 kB / 4.018 GB, free: 90.71 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009087/8.63, allocations: 0.7676 MB / 4.018 GB, free: 89.93 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.5e-07/8.63, allocations: 4 kB / 4.018 GB, free: 89.93 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001308/8.632, allocations: 395.6 kB / 4.019 GB, free: 89.54 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001761/8.634, allocations: 0.8093 MB / 4.02 GB, free: 88.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002927/8.637, allocations: 1.143 MB / 4.021 GB, free: 87.76 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/8.637, allocations: 0 / 4.021 GB, free: 87.76 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/8.638, allocations: 0.5932 MB / 4.021 GB, free: 87.16 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/8.64, allocations: 414.3 kB / 4.022 GB, free: 86.76 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/8.645, allocations: 2.758 MB / 4.024 GB, free: 83.96 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/8.646, allocations: 1.136 MB / 4.025 GB, free: 82.79 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001242/8.647, allocations: 256.5 kB / 4.026 GB, free: 82.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/8.647, allocations: 107.4 kB / 4.026 GB, free: 82.43 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/8.647, allocations: 3.938 kB / 4.026 GB, free: 82.43 MB / 1.167 GB Notification: Performance of Templates: time 0.03361/8.681, allocations: 20.93 MB / 4.046 GB, free: 61.72 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches