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.482/2.482, allocations: 390.5 MB / 398 MB, free: 10.96 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.001503/0.001503, allocations: 176.4 kB / 491.2 MB, free: 1.578 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.745/1.745, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001074/0.001074, allocations: 79.98 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.16e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.06/6.401, allocations: 2.185 GB / 3.397 GB, free: 116.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/6.402, allocations: 99.94 kB / 3.397 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.831/11.23, allocations: 1.239 GB / 4.636 GB, free: 166.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.803e-06/11.23, allocations: 2.594 kB / 4.636 GB, free: 166.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000677/11.23, allocations: 84.19 kB / 4.636 GB, free: 166.8 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.01135/11.25, allocations: 3.476 MB / 4.639 GB, free: 164.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/11.25, allocations: 10.91 kB / 4.639 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/11.25, allocations: 0.507 MB / 4.64 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/11.26, allocations: 3.3 MB / 4.643 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/11.26, allocations: 62.94 kB / 4.643 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/11.26, allocations: 124.6 kB / 4.643 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004679/11.27, allocations: 1.726 MB / 4.645 GB, free: 161.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005459/11.27, allocations: 2.1 MB / 4.647 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/11.27, allocations: 3.906 kB / 4.647 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/11.27, allocations: 7.312 kB / 4.647 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/11.27, allocations: 65.08 kB / 4.647 GB, free: 159.9 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.01658/11.29, allocations: 9.41 MB / 4.656 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/11.29, allocations: 1.269 MB / 4.657 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/11.29, allocations: 0.9034 MB / 4.658 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009761/11.29, allocations: 1.177 MB / 4.659 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/11.29, allocations: 47.72 kB / 4.659 GB, free: 149.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.687e-06/11.29, allocations: 6.281 kB / 4.659 GB, free: 149.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.01025/11.3, allocations: 4.211 MB / 4.663 GB, free: 147.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/11.3, allocations: 292.5 kB / 4.664 GB, free: 147.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/11.31, allocations: 2.544 MB / 4.666 GB, free: 145.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004179/11.31, allocations: 35.75 kB / 4.666 GB, free: 145.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/11.31, allocations: 1.406 MB / 4.668 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/11.31, allocations: 385.6 kB / 4.668 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/11.31, allocations: 3.25 kB / 4.668 GB, free: 144.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001314/11.31, allocations: 363.8 kB / 4.668 GB, free: 144 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/11.31, allocations: 0.9667 MB / 4.669 GB, free: 143.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/11.32, allocations: 1.365 MB / 4.671 GB, free: 142.6 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.004975/11.32, allocations: 2.507 MB / 4.673 GB, free: 141.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/11.32, allocations: 8.406 kB / 4.673 GB, free: 141.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004933/11.33, allocations: 2.571 MB / 4.676 GB, free: 139.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006847/11.33, allocations: 2.875 MB / 4.678 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/11.33, allocations: 3.719 kB / 4.678 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/11.33, allocations: 14.25 kB / 4.678 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/11.33, allocations: 258.2 kB / 4.679 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00035/11.33, allocations: 0.6305 MB / 4.679 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/11.33, allocations: 147.9 kB / 4.679 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/11.33, allocations: 85.97 kB / 4.679 GB, free: 136.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/11.33, allocations: 3 kB / 4.679 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003711/11.34, allocations: 2.5 MB / 4.682 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/11.34, allocations: 8 kB / 4.682 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/11.34, allocations: 12 kB / 4.682 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/11.34, allocations: 244.9 kB / 4.682 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/11.34, allocations: 20.98 kB / 4.682 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/11.34, allocations: 143.2 kB / 4.682 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/11.34, allocations: 83.97 kB / 4.682 GB, free: 133.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: 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.0005915/11.34, allocations: 335.7 kB / 4.683 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/11.34, allocations: 279.2 kB / 4.683 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/11.35, allocations: 2.019 MB / 4.685 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/11.35, allocations: 12 kB / 4.685 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/11.35, allocations: 5.156 kB / 4.685 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002603/11.35, allocations: 1.848 MB / 4.687 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/11.36, allocations: 5.05 MB / 4.692 GB, free: 124.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/11.36, allocations: 8 kB / 4.692 GB, free: 124.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/11.36, allocations: 224.9 kB / 4.692 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/11.36, allocations: 8 kB / 4.692 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/11.36, allocations: 27.98 kB / 4.692 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003195/11.36, allocations: 0.6158 MB / 4.693 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/11.36, allocations: 7.938 kB / 4.693 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/11.37, allocations: 3.948 MB / 4.696 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/11.37, allocations: 0.6459 MB / 4.697 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/11.37, allocations: 20 kB / 4.697 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/11.37, allocations: 129.8 kB / 4.697 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/11.37, allocations: 157.8 kB / 4.697 GB, free: 118.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/11.37, allocations: 51.97 kB / 4.697 GB, free: 118.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004272/11.38, allocations: 1.932 MB / 4.699 GB, free: 116.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.81e-07/11.38, allocations: 0 / 4.699 GB, free: 116.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007032/11.39, allocations: 1.343 MB / 4.701 GB, free: 114.8 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.005339/11.39, allocations: 2.944 MB / 4.703 GB, free: 112.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006063/11.4, allocations: 5.248 MB / 4.709 GB, free: 106.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/11.4, allocations: 3.938 kB / 4.709 GB, free: 106.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/11.4, allocations: 1.788 MB / 4.71 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007556/11.41, allocations: 1.35 MB / 4.712 GB, free: 103.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/11.42, allocations: 4.764 MB / 4.716 GB, free: 98.96 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/11.42, allocations: 2.078 MB / 4.718 GB, free: 96.88 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005165/11.42, allocations: 0.9588 MB / 4.719 GB, free: 96.03 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/11.43, allocations: 127.4 kB / 4.719 GB, free: 95.91 MB / 1.167 GB Notification: Performance of SimCode: time 9.12e-07/11.43, allocations: 0 / 4.719 GB, free: 95.91 MB / 1.167 GB Notification: Performance of Templates: time 0.1002/11.53, allocations: 69.11 MB / 4.787 GB, free: 28.41 MB / 1.167 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