Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001328/0.001328, allocations: 188.6 kB / 487.4 MB, free: 5.035 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.568/1.568, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009343, allocations: 95.91 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.983e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2909, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.906/6.197, allocations: 2.182 GB / 3.388 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/6.197, allocations: 101.5 kB / 3.388 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.211/9.408, allocations: 0.8773 GB / 4.265 GB, free: 118.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.243e-06/9.408, allocations: 3.219 kB / 4.265 GB, free: 118.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003553/9.409, allocations: 51.67 kB / 4.265 GB, free: 118.1 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.006684/9.415, allocations: 2.357 MB / 4.268 GB, free: 115.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/9.415, allocations: 8.031 kB / 4.268 GB, free: 115.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/9.418, allocations: 378.5 kB / 4.268 GB, free: 115.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/9.423, allocations: 2.056 MB / 4.27 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/9.423, allocations: 40 kB / 4.27 GB, free: 113.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/9.424, allocations: 84 kB / 4.27 GB, free: 113.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002611/9.426, allocations: 1.118 MB / 4.271 GB, free: 112 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/9.429, allocations: 1.374 MB / 4.272 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/9.43, allocations: 0 / 4.272 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/9.43, allocations: 7.375 kB / 4.272 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/9.43, allocations: 50.47 kB / 4.273 GB, free: 110.5 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.009974/9.44, allocations: 6.182 MB / 4.279 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/9.441, allocations: 0.8392 MB / 4.279 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/9.442, allocations: 0.5771 MB / 4.28 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/9.442, allocations: 0.6873 MB / 4.281 GB, free: 101.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/9.442, allocations: 43.34 kB / 4.281 GB, free: 101.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 2.996e-06/9.442, allocations: 2.875 kB / 4.281 GB, free: 101.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.005822/9.448, allocations: 2.711 MB / 4.283 GB, free: 99.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/9.448, allocations: 204.2 kB / 4.284 GB, free: 98.82 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/9.451, allocations: 1.489 MB / 4.285 GB, free: 97.34 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/9.451, allocations: 29.7 kB / 4.285 GB, free: 97.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007041/9.452, allocations: 0.897 MB / 4.286 GB, free: 96.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/9.452, allocations: 279.9 kB / 4.286 GB, free: 96.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/9.452, allocations: 0 / 4.286 GB, free: 96.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/9.452, allocations: 345.9 kB / 4.286 GB, free: 95.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/9.453, allocations: 0.561 MB / 4.287 GB, free: 95.21 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/9.454, allocations: 0.8198 MB / 4.288 GB, free: 94.31 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/9.458, allocations: 2.146 MB / 4.29 GB, free: 92.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/9.458, allocations: 3.938 kB / 4.29 GB, free: 92.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002546/9.46, allocations: 1.549 MB / 4.291 GB, free: 90.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003661/9.461, allocations: 1.642 MB / 4.293 GB, free: 88.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/9.461, allocations: 4 kB / 4.293 GB, free: 88.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/9.461, allocations: 10.94 kB / 4.293 GB, free: 88.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/9.462, allocations: 175.7 kB / 4.293 GB, free: 88.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/9.462, allocations: 11.98 kB / 4.293 GB, free: 88.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/9.463, allocations: 98.91 kB / 4.293 GB, free: 88.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/9.463, allocations: 47.98 kB / 4.293 GB, free: 88.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/9.463, allocations: 4 kB / 4.293 GB, free: 88.46 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001971/9.465, allocations: 1.463 MB / 4.295 GB, free: 87 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/9.465, allocations: 7.656 kB / 4.295 GB, free: 86.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/9.465, allocations: 11.95 kB / 4.295 GB, free: 86.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/9.466, allocations: 179.7 kB / 4.295 GB, free: 86.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/9.466, allocations: 8 kB / 4.295 GB, free: 86.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/9.468, allocations: 97.78 kB / 4.295 GB, free: 86.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/9.468, allocations: 50.02 kB / 4.295 GB, free: 86.66 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.0003369/9.468, allocations: 225.8 kB / 4.295 GB, free: 86.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/9.469, allocations: 173.8 kB / 4.296 GB, free: 86.24 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/9.471, allocations: 1.267 MB / 4.297 GB, free: 84.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/9.471, allocations: 8 kB / 4.297 GB, free: 84.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/9.471, allocations: 0 / 4.297 GB, free: 84.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/9.473, allocations: 1.358 MB / 4.298 GB, free: 83.52 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/9.479, allocations: 3.243 MB / 4.301 GB, free: 80.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/9.479, allocations: 4 kB / 4.301 GB, free: 80.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/9.479, allocations: 163.8 kB / 4.301 GB, free: 80.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/9.479, allocations: 8 kB / 4.301 GB, free: 80.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/9.479, allocations: 18.53 kB / 4.301 GB, free: 80.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/9.479, allocations: 19.88 kB / 4.301 GB, free: 79.99 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/9.479, allocations: 4 kB / 4.301 GB, free: 79.98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/9.482, allocations: 2.468 MB / 4.304 GB, free: 77.35 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/9.483, allocations: 438.7 kB / 4.304 GB, free: 76.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/9.484, allocations: 10.16 kB / 4.304 GB, free: 76.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/9.485, allocations: 91.06 kB / 4.304 GB, free: 76.81 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/9.485, allocations: 100.3 kB / 4.304 GB, free: 76.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/9.485, allocations: 42.73 kB / 4.305 GB, free: 76.68 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002162/9.488, allocations: 1.135 MB / 4.306 GB, free: 75.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/9.488, allocations: 3.938 kB / 4.306 GB, free: 75.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003963/9.492, allocations: 0.9021 MB / 4.307 GB, free: 74.64 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003961/9.496, allocations: 2.386 MB / 4.309 GB, free: 72.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003272/9.499, allocations: 2.944 MB / 4.312 GB, free: 69.45 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/9.499, allocations: 5.75 kB / 4.312 GB, free: 69.44 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/9.5, allocations: 0.9615 MB / 4.313 GB, free: 68.44 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/9.505, allocations: 0.8367 MB / 4.313 GB, free: 67.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/9.511, allocations: 3.056 MB / 4.316 GB, free: 64.45 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/9.513, allocations: 1.564 MB / 4.318 GB, free: 62.86 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003245/9.516, allocations: 0.6039 MB / 4.319 GB, free: 62.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/9.516, allocations: 91.42 kB / 4.319 GB, free: 62.16 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/9.516, allocations: 0 / 4.319 GB, free: 62.16 MB / 1.151 GB Notification: Performance of Templates: time 0.06825/9.585, allocations: 45.32 MB / 4.363 GB, free: 17.24 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches