Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 249.3 MB / 261.9 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009941/0.000994, allocations: 98.2 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.929e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2546, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.823/7.078, allocations: 2.459 GB / 3.351 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/7.078, allocations: 94.52 kB / 3.351 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.694/9.772, allocations: 0.8501 GB / 4.201 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/9.772, allocations: 4 kB / 4.201 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001981/9.772, allocations: 59.86 kB / 4.201 GB, free: 3.973 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005541/9.778, allocations: 2.354 MB / 4.203 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/9.778, allocations: 12.03 kB / 4.203 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/9.78, allocations: 378.4 kB / 4.204 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/9.784, allocations: 2.048 MB / 4.206 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/9.785, allocations: 102.6 kB / 4.206 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/9.785, allocations: 143.9 kB / 4.206 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/9.788, allocations: 1.564 MB / 4.207 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/9.788, allocations: 7.938 kB / 4.207 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/9.788, allocations: 56 kB / 4.207 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/9.788, allocations: 50.48 kB / 4.207 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/9.79, allocations: 1.182 MB / 4.209 GB, free: 11.88 MB / 0.8855 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.01089/9.801, allocations: 6.471 MB / 4.215 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/9.803, allocations: 0.8883 MB / 4.216 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/9.804, allocations: 0.5928 MB / 4.216 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007699/9.804, allocations: 0.689 MB / 4.217 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/9.804, allocations: 43.34 kB / 4.217 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=83): time 4.619e-06/9.804, allocations: 0 / 4.217 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.6503/10.45, allocations: 3.079 MB / 4.22 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/10.45, allocations: 201.4 kB / 4.22 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/10.46, allocations: 1.776 MB / 4.222 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/10.46, allocations: 46.3 kB / 4.222 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000934/10.46, allocations: 0.8835 MB / 4.223 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/10.46, allocations: 290 kB / 4.223 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/10.46, allocations: 16.94 kB / 4.223 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/10.46, allocations: 344.4 kB / 4.224 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/10.46, allocations: 0.5789 MB / 4.224 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/10.46, allocations: 0.8478 MB / 4.225 GB, free: 118.7 MB / 0.8855 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.004816/10.47, allocations: 2.356 MB / 4.227 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/10.47, allocations: 0 / 4.227 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003183/10.47, allocations: 1.788 MB / 4.229 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005431/10.47, allocations: 1.663 MB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/10.47, allocations: 3.281 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/10.47, allocations: 10.47 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/10.47, allocations: 178 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/10.47, allocations: 8.547 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/10.47, allocations: 124.9 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/10.47, allocations: 52.2 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/10.47, allocations: 4 kB / 4.231 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002821/10.48, allocations: 1.787 MB / 4.233 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/10.48, allocations: 2.875 kB / 4.233 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/10.48, allocations: 9.359 kB / 4.233 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/10.48, allocations: 179.6 kB / 4.233 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/10.48, allocations: 9.719 kB / 4.233 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/10.48, allocations: 127.6 kB / 4.233 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/10.48, allocations: 51.53 kB / 4.233 GB, free: 115.9 MB / 0.8855 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.0003805/10.48, allocations: 257.3 kB / 4.233 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/10.48, allocations: 195.9 kB / 4.234 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/10.48, allocations: 1.418 MB / 4.235 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/10.48, allocations: 10.72 kB / 4.235 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/10.48, allocations: 0 / 4.235 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001755/10.49, allocations: 1.496 MB / 4.236 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/10.49, allocations: 3.574 MB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/10.49, allocations: 9.844 kB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/10.49, allocations: 166.3 kB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/10.49, allocations: 10.84 kB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/10.49, allocations: 24.47 kB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/10.49, allocations: 18.44 kB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/10.49, allocations: 7.625 kB / 4.24 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/10.5, allocations: 2.715 MB / 4.243 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/10.5, allocations: 459.4 kB / 4.243 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/10.5, allocations: 28.86 kB / 4.243 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/10.5, allocations: 104.4 kB / 4.243 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/10.5, allocations: 100.1 kB / 4.243 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/10.5, allocations: 40.03 kB / 4.243 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002437/10.5, allocations: 1.382 MB / 4.245 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/10.5, allocations: 0 / 4.245 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003627/10.51, allocations: 1.008 MB / 4.246 GB, free: 112.9 MB / 0.8855 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.U,vol.dynBal.mXi[1],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.004075/10.51, allocations: 2.282 MB / 4.248 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004515/10.51, allocations: 3.034 MB / 4.251 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/10.51, allocations: 1.312 kB / 4.251 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/10.52, allocations: 0.9846 MB / 4.252 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/10.52, allocations: 1.008 MB / 4.253 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/10.53, allocations: 3.143 MB / 4.256 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/10.53, allocations: 1.563 MB / 4.258 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003583/10.53, allocations: 0.6673 MB / 4.258 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/10.53, allocations: 103 kB / 4.258 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of SimCode: time 9.61e-07/10.53, allocations: 0 / 4.258 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.1063/10.64, allocations: 67.85 MB / 4.325 GB, free: 106.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches