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.353/2.353, allocations: 390.3 MB / 405.3 MB, free: 13.27 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.001149/0.001149, allocations: 169.1 kB / 498.1 MB, free: 5.504 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.549/1.549, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.001101/0.0011, allocations: 94.52 kB / 0.9346 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 13.69 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.329/5.69, allocations: 2.183 GB / 3.405 GB, free: 252.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/5.69, allocations: 103.1 kB / 3.406 GB, free: 252.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.209/8.899, allocations: 0.8863 GB / 4.292 GB, free: 232.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.827e-06/8.899, allocations: 2.875 kB / 4.292 GB, free: 232.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004136/8.9, allocations: 58.42 kB / 4.292 GB, free: 232.7 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.009417/8.909, allocations: 2.756 MB / 4.295 GB, free: 231.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/8.909, allocations: 10.22 kB / 4.295 GB, free: 231.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/8.912, allocations: 383 kB / 4.295 GB, free: 231.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005987/8.918, allocations: 2.063 MB / 4.297 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/8.918, allocations: 102.4 kB / 4.297 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006157/8.919, allocations: 138.3 kB / 4.297 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/8.923, allocations: 1.601 MB / 4.299 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/8.923, allocations: 10.19 kB / 4.299 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/8.923, allocations: 56.16 kB / 4.299 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/8.923, allocations: 52.66 kB / 4.299 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/8.926, allocations: 1.248 MB / 4.3 GB, free: 228.8 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.01236/8.938, allocations: 6.47 MB / 4.306 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/8.94, allocations: 0.9183 MB / 4.307 GB, free: 223.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/8.94, allocations: 0.683 MB / 4.308 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/8.941, allocations: 45.88 kB / 4.308 GB, free: 222.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.918e-06/8.941, allocations: 0 / 4.308 GB, free: 222.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.008308/8.949, allocations: 3.923 MB / 4.312 GB, free: 219.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/8.949, allocations: 201 kB / 4.312 GB, free: 219.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/8.953, allocations: 1.795 MB / 4.314 GB, free: 218.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003036/8.954, allocations: 49.33 kB / 4.314 GB, free: 218.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/8.955, allocations: 0.8858 MB / 4.315 GB, free: 217.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/8.955, allocations: 296.6 kB / 4.315 GB, free: 217.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/8.955, allocations: 18.72 kB / 4.315 GB, free: 217.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000124/8.955, allocations: 341.4 kB / 4.315 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/8.956, allocations: 0.6055 MB / 4.316 GB, free: 217 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/8.958, allocations: 0.866 MB / 4.317 GB, free: 216.4 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.004808/8.962, allocations: 2.432 MB / 4.319 GB, free: 214.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/8.962, allocations: 0 / 4.319 GB, free: 214.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00311/8.966, allocations: 1.85 MB / 4.321 GB, free: 213.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005046/8.966, allocations: 1.658 MB / 4.323 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/8.966, allocations: 3.938 kB / 4.323 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.404e-05/8.966, allocations: 10.62 kB / 4.323 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/8.967, allocations: 179.4 kB / 4.323 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/8.967, allocations: 8.812 kB / 4.323 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/8.97, allocations: 123.3 kB / 4.323 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/8.97, allocations: 50.64 kB / 4.323 GB, free: 212 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/8.97, allocations: 3.812 kB / 4.323 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002792/8.973, allocations: 1.848 MB / 4.325 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/8.973, allocations: 7.344 kB / 4.325 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/8.973, allocations: 9.844 kB / 4.325 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/8.973, allocations: 173.9 kB / 4.325 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/8.973, allocations: 9.328 kB / 4.325 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/8.976, allocations: 131.6 kB / 4.325 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/8.976, allocations: 47.98 kB / 4.325 GB, free: 210.9 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.001945/8.978, allocations: 0.7077 MB / 4.326 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/8.979, allocations: 200.1 kB / 4.326 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/8.982, allocations: 1.481 MB / 4.327 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/8.982, allocations: 10.78 kB / 4.327 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/8.982, allocations: 0 / 4.327 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001822/8.984, allocations: 1.55 MB / 4.329 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/8.991, allocations: 3.641 MB / 4.333 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/8.991, allocations: 2.906 kB / 4.333 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/8.992, allocations: 167.3 kB / 4.333 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/8.992, allocations: 11.66 kB / 4.333 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/8.992, allocations: 27.38 kB / 4.333 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/8.992, allocations: 14.89 kB / 4.333 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/8.992, allocations: 6.438 kB / 4.333 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/8.996, allocations: 2.774 MB / 4.335 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/8.997, allocations: 456.2 kB / 4.336 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007313/8.998, allocations: 27.31 kB / 4.336 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/9, allocations: 107.6 kB / 4.336 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/9, allocations: 102.1 kB / 4.336 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/9, allocations: 32.3 kB / 4.336 GB, free: 203.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002919/9.003, allocations: 1.409 MB / 4.338 GB, free: 202.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/9.003, allocations: 0 / 4.338 GB, free: 202.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005258/9.008, allocations: 1.005 MB / 4.338 GB, free: 202.4 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.004398/9.013, allocations: 2.294 MB / 4.341 GB, free: 201.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004247/9.017, allocations: 3.052 MB / 4.344 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/9.017, allocations: 4 kB / 4.344 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/9.018, allocations: 1.007 MB / 4.345 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/9.024, allocations: 0.9916 MB / 4.346 GB, free: 196.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008779/9.033, allocations: 4.488 MB / 4.35 GB, free: 191.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/9.035, allocations: 1.561 MB / 4.352 GB, free: 190.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00277/9.038, allocations: 433.9 kB / 4.352 GB, free: 190 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/9.038, allocations: 131.4 kB / 4.352 GB, free: 189.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.663e-06/9.038, allocations: 0 / 4.352 GB, free: 189.9 MB / 1.167 GB Notification: Performance of Templates: time 0.08636/9.125, allocations: 59.56 MB / 4.41 GB, free: 133 MB / 1.167 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