Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001042/0.001042, allocations: 176.8 kB / 492.3 MB, free: 0.6094 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.702/1.702, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008808/0.0008807, allocations: 101.5 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.294, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/6.199, allocations: 2.184 GB / 3.397 GB, free: 92.98 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/6.199, allocations: 100.8 kB / 3.397 GB, free: 92.93 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.755/10.95, allocations: 1.248 GB / 4.645 GB, free: 151.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.753e-06/10.95, allocations: 2.656 kB / 4.645 GB, free: 151.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005286/10.95, allocations: 76.58 kB / 4.645 GB, free: 151.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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.009902/10.96, allocations: 3.47 MB / 4.648 GB, free: 149.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/10.96, allocations: 9.719 kB / 4.648 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/10.97, allocations: 0.5045 MB / 4.649 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007856/10.98, allocations: 3.303 MB / 4.652 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/10.98, allocations: 151.6 kB / 4.652 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/10.98, allocations: 207.9 kB / 4.652 GB, free: 146.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/10.98, allocations: 2.377 MB / 4.654 GB, free: 145.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/10.98, allocations: 0 / 4.654 GB, free: 145.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/10.98, allocations: 86.12 kB / 4.654 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/10.98, allocations: 69.45 kB / 4.655 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/10.98, allocations: 1.827 MB / 4.656 GB, free: 144.3 MB / 1.167 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.01406/11, allocations: 9.839 MB / 4.666 GB, free: 134.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/11, allocations: 1.314 MB / 4.667 GB, free: 133.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009759/11, allocations: 0.9327 MB / 4.668 GB, free: 132.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008041/11, allocations: 1.178 MB / 4.669 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/11, allocations: 43.56 kB / 4.669 GB, free: 131 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 4.429e-06/11, allocations: 0 / 4.669 GB, free: 131 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.008185/11.01, allocations: 4.853 MB / 4.674 GB, free: 126 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/11.01, allocations: 296.3 kB / 4.674 GB, free: 125.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005039/11.01, allocations: 2.974 MB / 4.677 GB, free: 122.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003484/11.02, allocations: 61.64 kB / 4.677 GB, free: 122.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/11.02, allocations: 1.405 MB / 4.679 GB, free: 121.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/11.02, allocations: 394.9 kB / 4.679 GB, free: 120.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.411e-05/11.02, allocations: 28.94 kB / 4.679 GB, free: 120.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001183/11.02, allocations: 357.9 kB / 4.679 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/11.02, allocations: 0.9897 MB / 4.68 GB, free: 119.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/11.02, allocations: 1.409 MB / 4.682 GB, free: 117.9 MB / 1.167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00513/11.02, allocations: 2.94 MB / 4.685 GB, free: 114.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/11.02, allocations: 7.938 kB / 4.685 GB, free: 114.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004673/11.03, allocations: 3.021 MB / 4.688 GB, free: 111.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001103/11.03, allocations: 2.923 MB / 4.69 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/11.03, allocations: 4 kB / 4.69 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/11.03, allocations: 13.75 kB / 4.69 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/11.03, allocations: 251.6 kB / 4.691 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004215/11.03, allocations: 0.62 MB / 4.691 GB, free: 107.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/11.04, allocations: 186 kB / 4.691 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/11.04, allocations: 79.98 kB / 4.692 GB, free: 107.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/11.04, allocations: 5.406 kB / 4.692 GB, free: 107.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003346/11.04, allocations: 3.125 MB / 4.695 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/11.04, allocations: 8 kB / 4.695 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/11.04, allocations: 12 kB / 4.695 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/11.04, allocations: 247.6 kB / 4.695 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/11.04, allocations: 15.94 kB / 4.695 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/11.04, allocations: 191.3 kB / 4.695 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/11.04, allocations: 75.98 kB / 4.695 GB, free: 103.7 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: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004812/11.04, allocations: 382.9 kB / 4.696 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005736/11.04, allocations: 304.2 kB / 4.696 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/11.05, allocations: 2.316 MB / 4.698 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/11.05, allocations: 12 kB / 4.698 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/11.05, allocations: 0 / 4.698 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002023/11.05, allocations: 2.091 MB / 4.7 GB, free: 98.41 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/11.06, allocations: 5.555 MB / 4.706 GB, free: 92.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/11.06, allocations: 5.625 kB / 4.706 GB, free: 92.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/11.06, allocations: 219.7 kB / 4.706 GB, free: 92.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/11.06, allocations: 14.5 kB / 4.706 GB, free: 92.49 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/11.06, allocations: 39.98 kB / 4.706 GB, free: 92.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002457/11.06, allocations: 0.6171 MB / 4.706 GB, free: 91.81 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/11.06, allocations: 10.69 kB / 4.706 GB, free: 91.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/11.06, allocations: 4.324 MB / 4.711 GB, free: 87.21 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/11.06, allocations: 0.6882 MB / 4.711 GB, free: 86.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/11.07, allocations: 47.94 kB / 4.711 GB, free: 86.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/11.07, allocations: 149.9 kB / 4.712 GB, free: 86.32 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/11.07, allocations: 153.1 kB / 4.712 GB, free: 86.17 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/11.07, allocations: 59.92 kB / 4.712 GB, free: 86.11 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00346/11.07, allocations: 2.301 MB / 4.714 GB, free: 83.82 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.61e-07/11.07, allocations: 0 / 4.714 GB, free: 83.82 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006029/11.08, allocations: 1.462 MB / 4.715 GB, free: 82.36 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005135/11.08, allocations: 2.873 MB / 4.718 GB, free: 79.91 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006792/11.09, allocations: 5.377 MB / 4.723 GB, free: 74.24 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/11.09, allocations: 2.188 kB / 4.723 GB, free: 74.24 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/11.09, allocations: 1.823 MB / 4.725 GB, free: 72.35 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008527/11.1, allocations: 1.587 MB / 4.727 GB, free: 70.91 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/11.11, allocations: 4.883 MB / 4.732 GB, free: 66.08 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/11.11, allocations: 2.081 MB / 4.734 GB, free: 63.98 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004985/11.12, allocations: 1.046 MB / 4.735 GB, free: 62.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/11.12, allocations: 143.4 kB / 4.735 GB, free: 62.83 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/11.12, allocations: 0 / 4.735 GB, free: 62.83 MB / 1.167 GB Notification: Performance of Templates: time 0.9557/12.07, allocations: 97.52 MB / 4.83 GB, free: 193.4 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches