Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.343/2.343, 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.001555/0.001555, allocations: 198.2 kB / 0.4902 GB, free: 2.227 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.453/1.453, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001043/0.001043, allocations: 104.2 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005003, allocations: 14.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3023, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/5.715, allocations: 2.185 GB / 3.414 GB, free: 204.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/5.715, allocations: 107.7 kB / 3.415 GB, free: 204.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.461/10.18, allocations: 1.25 GB / 4.665 GB, free: 165.1 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.845e-06/10.18, allocations: 0 / 4.665 GB, free: 165.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004115/10.18, allocations: 87.55 kB / 4.665 GB, free: 165 MB / 1.182 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.01101/10.19, allocations: 4.127 MB / 4.669 GB, free: 163.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/10.19, allocations: 12.25 kB / 4.669 GB, free: 163.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/10.19, allocations: 0.5135 MB / 4.67 GB, free: 162.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007841/10.2, allocations: 3.315 MB / 4.673 GB, free: 162.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/10.2, allocations: 155 kB / 4.673 GB, free: 162.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/10.2, allocations: 207.8 kB / 4.673 GB, free: 162.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004025/10.2, allocations: 2.421 MB / 4.676 GB, free: 162.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/10.2, allocations: 4.75 kB / 4.676 GB, free: 162.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/10.2, allocations: 83.06 kB / 4.676 GB, free: 162.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/10.2, allocations: 67.7 kB / 4.676 GB, free: 162.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/10.21, allocations: 1.902 MB / 4.678 GB, free: 162.1 MB / 1.182 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.01494/10.22, allocations: 9.838 MB / 4.687 GB, free: 159 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/10.22, allocations: 1.368 MB / 4.689 GB, free: 159 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/10.22, allocations: 1.176 MB / 4.69 GB, free: 157.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/10.22, allocations: 47.94 kB / 4.69 GB, free: 157.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=113): time 3.757e-06/10.22, allocations: 0 / 4.69 GB, free: 157.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=115): time 0.009787/10.23, allocations: 6.221 MB / 4.696 GB, free: 155.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/10.23, allocations: 285.3 kB / 4.696 GB, free: 155.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/10.24, allocations: 3.007 MB / 4.699 GB, free: 155.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000285/10.24, allocations: 58.86 kB / 4.699 GB, free: 155 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/10.24, allocations: 1.41 MB / 4.7 GB, free: 154.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/10.24, allocations: 393.3 kB / 4.701 GB, free: 154.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/10.24, allocations: 25.97 kB / 4.701 GB, free: 154.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001052/10.24, allocations: 365.4 kB / 4.701 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/10.24, allocations: 1.021 MB / 4.702 GB, free: 154.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/10.24, allocations: 1.432 MB / 4.704 GB, free: 153.7 MB / 1.182 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.004737/10.25, allocations: 2.955 MB / 4.707 GB, free: 152.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/10.25, allocations: 0 / 4.707 GB, free: 152.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004218/10.25, allocations: 3.084 MB / 4.71 GB, free: 152.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006917/10.25, allocations: 2.919 MB / 4.712 GB, free: 149.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/10.25, allocations: 7.781 kB / 4.712 GB, free: 149.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/10.25, allocations: 10.41 kB / 4.712 GB, free: 149.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/10.25, allocations: 256.4 kB / 4.713 GB, free: 149.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003754/10.25, allocations: 0.6151 MB / 4.713 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/10.26, allocations: 186.8 kB / 4.713 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/10.26, allocations: 80.7 kB / 4.713 GB, free: 148.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/10.26, allocations: 3.438 kB / 4.713 GB, free: 148.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003662/10.26, allocations: 3.196 MB / 4.717 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/10.26, allocations: 6.844 kB / 4.717 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/10.26, allocations: 10.44 kB / 4.717 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/10.26, allocations: 247.4 kB / 4.717 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/10.26, allocations: 15 kB / 4.717 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/10.26, allocations: 186.2 kB / 4.717 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/10.27, allocations: 76.22 kB / 4.717 GB, free: 148.3 MB / 1.182 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 () * Number of clocked 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.002138/10.27, allocations: 1.09 MB / 4.718 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/10.27, allocations: 307.3 kB / 4.718 GB, free: 147.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/10.27, allocations: 2.364 MB / 4.721 GB, free: 147.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/10.27, allocations: 11.72 kB / 4.721 GB, free: 147.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/10.27, allocations: 3.062 kB / 4.721 GB, free: 147.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/10.27, allocations: 2.147 MB / 4.723 GB, free: 147 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/10.28, allocations: 5.619 MB / 4.728 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/10.28, allocations: 7.406 kB / 4.728 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/10.28, allocations: 228.5 kB / 4.729 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/10.28, allocations: 7.656 kB / 4.729 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.561e-05/10.28, allocations: 42.72 kB / 4.729 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002528/10.28, allocations: 0.6155 MB / 4.729 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/10.28, allocations: 6.188 kB / 4.729 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/10.29, allocations: 4.423 MB / 4.734 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/10.29, allocations: 0.675 MB / 4.734 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/10.29, allocations: 44.34 kB / 4.734 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/10.29, allocations: 153.4 kB / 4.734 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/10.29, allocations: 160.1 kB / 4.735 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/10.29, allocations: 54.83 kB / 4.735 GB, free: 143.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003765/10.3, allocations: 2.338 MB / 4.737 GB, free: 143.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.9e-07/10.3, allocations: 1.406 kB / 4.737 GB, free: 143.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005316/10.3, allocations: 1.459 MB / 4.738 GB, free: 143.7 MB / 1.182 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) * Number of clocked states: 0 () * 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.00486/10.31, allocations: 2.852 MB / 4.741 GB, free: 142.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006817/10.31, allocations: 5.353 MB / 4.746 GB, free: 141.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.426e-05/10.31, allocations: 7.688 kB / 4.746 GB, free: 141.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002402/10.32, allocations: 1.847 MB / 4.748 GB, free: 140.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009006/10.33, allocations: 1.587 MB / 4.75 GB, free: 140.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/10.34, allocations: 6.846 MB / 4.756 GB, free: 138.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/10.34, allocations: 2.074 MB / 4.758 GB, free: 137.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002988/10.34, allocations: 0.6367 MB / 4.759 GB, free: 137.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/10.34, allocations: 193.1 kB / 4.759 GB, free: 137.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.382e-06/10.34, allocations: 4.875 kB / 4.759 GB, free: 137.3 MB / 1.182 GB Notification: Performance of Templates: time 0.1178/10.46, allocations: 87.11 MB / 4.844 GB, free: 101.6 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches