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.403/2.403, allocations: 390.5 MB / 398 MB, free: 10.94 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.001392/0.001392, allocations: 184.3 kB / 491.2 MB, free: 1.602 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.789/1.789, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009611/0.0009611, allocations: 97.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.792e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.053/6.383, allocations: 2.183 GB / 3.395 GB, free: 105.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/6.383, allocations: 94.14 kB / 3.395 GB, free: 105.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.248/9.632, allocations: 0.8773 GB / 4.272 GB, free: 100.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/9.632, allocations: 0 / 4.272 GB, free: 100.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004632/9.632, allocations: 55.84 kB / 4.272 GB, free: 100.3 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.008496/9.641, allocations: 2.362 MB / 4.275 GB, free: 97.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/9.641, allocations: 12.03 kB / 4.275 GB, free: 97.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/9.644, allocations: 372.8 kB / 4.275 GB, free: 97.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006246/9.65, allocations: 2.043 MB / 4.277 GB, free: 95.47 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/9.65, allocations: 44 kB / 4.277 GB, free: 95.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/9.651, allocations: 91.84 kB / 4.277 GB, free: 95.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002866/9.654, allocations: 1.118 MB / 4.278 GB, free: 94.21 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/9.657, allocations: 1.368 MB / 4.28 GB, free: 92.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/9.657, allocations: 4 kB / 4.28 GB, free: 92.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/9.657, allocations: 4 kB / 4.28 GB, free: 92.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/9.658, allocations: 54.47 kB / 4.28 GB, free: 92.73 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.01039/9.668, allocations: 6.173 MB / 4.286 GB, free: 86.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/9.669, allocations: 0.8437 MB / 4.287 GB, free: 85.49 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/9.67, allocations: 0.57 MB / 4.287 GB, free: 84.92 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/9.671, allocations: 0.6883 MB / 4.288 GB, free: 84.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/9.671, allocations: 43.34 kB / 4.288 GB, free: 84.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.556e-06/9.671, allocations: 0 / 4.288 GB, free: 84.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.006979/9.678, allocations: 2.715 MB / 4.29 GB, free: 81.26 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/9.678, allocations: 196.7 kB / 4.291 GB, free: 81.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/9.682, allocations: 1.497 MB / 4.292 GB, free: 79.53 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/9.682, allocations: 25.7 kB / 4.292 GB, free: 79.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/9.683, allocations: 0.901 MB / 4.293 GB, free: 78.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/9.683, allocations: 275.8 kB / 4.293 GB, free: 78.32 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/9.683, allocations: 0 / 4.293 GB, free: 78.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001322/9.683, allocations: 353.9 kB / 4.294 GB, free: 77.96 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/9.684, allocations: 0.5649 MB / 4.294 GB, free: 77.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/9.685, allocations: 0.8132 MB / 4.295 GB, free: 76.5 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.003906/9.689, allocations: 2.147 MB / 4.297 GB, free: 74.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/9.689, allocations: 0 / 4.297 GB, free: 74.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002499/9.692, allocations: 1.546 MB / 4.299 GB, free: 72.74 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004635/9.692, allocations: 1.643 MB / 4.3 GB, free: 70.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/9.692, allocations: 4 kB / 4.3 GB, free: 70.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/9.692, allocations: 8 kB / 4.3 GB, free: 70.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/9.693, allocations: 179.8 kB / 4.3 GB, free: 70.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/9.693, allocations: 19.88 kB / 4.3 GB, free: 70.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/9.695, allocations: 99.73 kB / 4.3 GB, free: 70.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/9.695, allocations: 55.98 kB / 4.301 GB, free: 70.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/9.695, allocations: 7.953 kB / 4.301 GB, free: 70.59 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001841/9.697, allocations: 1.453 MB / 4.302 GB, free: 69.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/9.697, allocations: 4 kB / 4.302 GB, free: 69.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/9.697, allocations: 8.438 kB / 4.302 GB, free: 69.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/9.697, allocations: 179.7 kB / 4.302 GB, free: 68.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/9.697, allocations: 11.94 kB / 4.302 GB, free: 68.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/9.699, allocations: 99.75 kB / 4.302 GB, free: 68.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/9.699, allocations: 55.98 kB / 4.302 GB, free: 68.78 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.0002836/9.699, allocations: 221.8 kB / 4.303 GB, free: 68.54 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/9.699, allocations: 181.8 kB / 4.303 GB, free: 68.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/9.701, allocations: 1.252 MB / 4.304 GB, free: 67.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/9.701, allocations: 15.94 kB / 4.304 GB, free: 67.08 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/9.701, allocations: 0 / 4.304 GB, free: 67.08 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/9.703, allocations: 1.358 MB / 4.305 GB, free: 65.64 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/9.708, allocations: 3.237 MB / 4.308 GB, free: 62.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/9.708, allocations: 7.984 kB / 4.308 GB, free: 62.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/9.709, allocations: 163.7 kB / 4.309 GB, free: 62.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/9.709, allocations: 12 kB / 4.309 GB, free: 62.13 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/9.709, allocations: 23.94 kB / 4.309 GB, free: 62.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/9.709, allocations: 8.375 kB / 4.309 GB, free: 62.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/9.709, allocations: 11.94 kB / 4.309 GB, free: 62.09 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/9.711, allocations: 2.472 MB / 4.311 GB, free: 59.44 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/9.712, allocations: 426.8 kB / 4.311 GB, free: 59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/9.712, allocations: 19.98 kB / 4.311 GB, free: 58.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009504/9.713, allocations: 87.77 kB / 4.312 GB, free: 58.89 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/9.713, allocations: 96.34 kB / 4.312 GB, free: 58.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/9.713, allocations: 35.98 kB / 4.312 GB, free: 58.77 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001572/9.715, allocations: 1.135 MB / 4.313 GB, free: 57.64 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/9.715, allocations: 4 kB / 4.313 GB, free: 57.64 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003097/9.718, allocations: 0.906 MB / 4.314 GB, free: 56.73 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.003302/9.721, allocations: 2.371 MB / 4.316 GB, free: 54.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00285/9.724, allocations: 2.959 MB / 4.319 GB, free: 51.38 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/9.724, allocations: 1.75 kB / 4.319 GB, free: 51.38 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009139/9.725, allocations: 0.9577 MB / 4.32 GB, free: 50.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/9.729, allocations: 0.8438 MB / 4.321 GB, free: 49.55 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/9.735, allocations: 3.053 MB / 4.324 GB, free: 46.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009362/9.736, allocations: 1.568 MB / 4.325 GB, free: 44.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00249/9.738, allocations: 0.6047 MB / 4.326 GB, free: 44.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/9.738, allocations: 95.36 kB / 4.326 GB, free: 44.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/9.738, allocations: 0 / 4.326 GB, free: 44.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06874/9.807, allocations: 45.32 MB / 4.37 GB, free: 15.18 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