Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001276/0.001276, allocations: 179.4 kB / 0.4902 GB, free: 2.238 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.563/1.563, 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.00114/0.00114, allocations: 100.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 13.73 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3156, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.71, allocations: 2.183 GB / 3.413 GB, free: 206.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/5.71, allocations: 103.8 kB / 3.413 GB, free: 206 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.132/8.842, allocations: 0.8863 GB / 4.299 GB, free: 207 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.705e-06/8.842, allocations: 0 / 4.299 GB, free: 207 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000202/8.843, allocations: 62.05 kB / 4.299 GB, free: 207 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.005648/8.848, allocations: 2.759 MB / 4.302 GB, free: 204.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/8.848, allocations: 11.72 kB / 4.302 GB, free: 204.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/8.85, allocations: 374.8 kB / 4.302 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/8.854, allocations: 2.063 MB / 4.304 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/8.854, allocations: 106.6 kB / 4.304 GB, free: 201.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/8.854, allocations: 137.9 kB / 4.304 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/8.857, allocations: 1.602 MB / 4.306 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/8.857, allocations: 6.906 kB / 4.306 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/8.857, allocations: 55.88 kB / 4.306 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/8.857, allocations: 46.53 kB / 4.306 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/8.859, allocations: 1.251 MB / 4.307 GB, free: 198.7 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.007665/8.866, allocations: 6.473 MB / 4.314 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/8.867, allocations: 0.9167 MB / 4.314 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/8.868, allocations: 0.6895 MB / 4.315 GB, free: 190.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/8.868, allocations: 43.22 kB / 4.315 GB, free: 190.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.937e-06/8.868, allocations: 0 / 4.315 GB, free: 190.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.005781/8.874, allocations: 3.92 MB / 4.319 GB, free: 186.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/8.874, allocations: 200.6 kB / 4.319 GB, free: 186 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/8.876, allocations: 1.788 MB / 4.321 GB, free: 184.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/8.877, allocations: 45.7 kB / 4.321 GB, free: 184.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/8.877, allocations: 0.8927 MB / 4.322 GB, free: 183.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/8.877, allocations: 297 kB / 4.322 GB, free: 182.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/8.877, allocations: 19.94 kB / 4.322 GB, free: 182.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/8.877, allocations: 345.9 kB / 4.322 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/8.878, allocations: 0.6078 MB / 4.323 GB, free: 181.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/8.879, allocations: 0.8615 MB / 4.324 GB, free: 181 MB / 1.167 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.004026/8.883, allocations: 2.426 MB / 4.326 GB, free: 178.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/8.883, allocations: 7.938 kB / 4.326 GB, free: 178.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002425/8.886, allocations: 1.839 MB / 4.328 GB, free: 176.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000355/8.886, allocations: 1.669 MB / 4.33 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/8.886, allocations: 4 kB / 4.33 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/8.886, allocations: 8 kB / 4.33 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/8.887, allocations: 180.4 kB / 4.33 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/8.887, allocations: 11.94 kB / 4.33 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/8.888, allocations: 124.9 kB / 4.33 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/8.888, allocations: 51.98 kB / 4.33 GB, free: 174.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/8.888, allocations: 4 kB / 4.33 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/8.89, allocations: 1.837 MB / 4.332 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/8.891, allocations: 14.98 kB / 4.332 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/8.891, allocations: 8 kB / 4.332 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/8.891, allocations: 179.8 kB / 4.332 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/8.891, allocations: 11.94 kB / 4.332 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/8.893, allocations: 120.4 kB / 4.332 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/8.893, allocations: 51.98 kB / 4.332 GB, free: 172.2 MB / 1.167 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 () * Number of clocked 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.001249/8.894, allocations: 0.7131 MB / 4.333 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/8.894, allocations: 197.5 kB / 4.333 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/8.896, allocations: 1.485 MB / 4.335 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/8.896, allocations: 11.95 kB / 4.335 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/8.896, allocations: 0 / 4.335 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/8.898, allocations: 1.555 MB / 4.336 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/8.903, allocations: 3.631 MB / 4.34 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/8.903, allocations: 4 kB / 4.34 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/8.903, allocations: 159.8 kB / 4.34 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/8.903, allocations: 15.98 kB / 4.34 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/8.904, allocations: 31.25 kB / 4.34 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/8.904, allocations: 11.95 kB / 4.34 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/8.904, allocations: 7.938 kB / 4.34 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/8.906, allocations: 2.777 MB / 4.343 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/8.907, allocations: 458.5 kB / 4.343 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/8.908, allocations: 27.94 kB / 4.343 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/8.909, allocations: 104.9 kB / 4.343 GB, free: 160.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/8.909, allocations: 100.3 kB / 4.343 GB, free: 160.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/8.909, allocations: 43.11 kB / 4.343 GB, free: 160.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001967/8.911, allocations: 1.402 MB / 4.345 GB, free: 159 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/8.911, allocations: 0 / 4.345 GB, free: 159 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003133/8.914, allocations: 0.9984 MB / 4.346 GB, free: 158 MB / 1.167 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) * Number of clocked states: 0 () * 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.003238/8.917, allocations: 2.296 MB / 4.348 GB, free: 156.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00315/8.921, allocations: 3.048 MB / 4.351 GB, free: 153 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/8.921, allocations: 3 kB / 4.351 GB, free: 153 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/8.922, allocations: 1.008 MB / 4.352 GB, free: 151.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/8.926, allocations: 0.9829 MB / 4.353 GB, free: 151 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/8.934, allocations: 4.49 MB / 4.357 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/8.935, allocations: 1.564 MB / 4.359 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002111/8.937, allocations: 442 kB / 4.359 GB, free: 144.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/8.938, allocations: 123.4 kB / 4.359 GB, free: 144.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/8.938, allocations: 3.938 kB / 4.359 GB, free: 144.6 MB / 1.167 GB Notification: Performance of Templates: time 0.0802/9.018, allocations: 59.56 MB / 4.417 GB, free: 86.93 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches