Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.433/2.433, 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.001772/0.001772, allocations: 172.2 kB / 491.2 MB, free: 1.598 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.704/1.704, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001109/0.001108, allocations: 94.2 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.3e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3604, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.121/6.481, allocations: 2.185 GB / 3.397 GB, free: 91.97 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/6.482, allocations: 99.53 kB / 3.397 GB, free: 91.92 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.631/11.11, allocations: 1.242 GB / 4.639 GB, free: 153.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.323e-06/11.11, allocations: 0 / 4.639 GB, free: 153.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005922/11.11, allocations: 85.03 kB / 4.639 GB, free: 153.1 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.00953/11.12, allocations: 3.622 MB / 4.643 GB, free: 150.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/11.12, allocations: 9.656 kB / 4.643 GB, free: 150.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/11.13, allocations: 0.537 MB / 4.644 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006753/11.13, allocations: 3.402 MB / 4.647 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/11.13, allocations: 69.47 kB / 4.647 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/11.13, allocations: 135.7 kB / 4.647 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003019/11.14, allocations: 1.811 MB / 4.649 GB, free: 147 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/11.14, allocations: 2.232 MB / 4.651 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/11.14, allocations: 3.938 kB / 4.651 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/11.14, allocations: 11.66 kB / 4.651 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/11.14, allocations: 75.14 kB / 4.651 GB, free: 145.7 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.01351/11.15, allocations: 10.06 MB / 4.661 GB, free: 137.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/11.15, allocations: 1.398 MB / 4.662 GB, free: 136.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/11.16, allocations: 0.9529 MB / 4.663 GB, free: 136 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/11.16, allocations: 1.19 MB / 4.664 GB, free: 134.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/11.16, allocations: 47.88 kB / 4.664 GB, free: 134.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 3.266e-06/11.16, allocations: 0 / 4.664 GB, free: 134.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.008577/11.16, allocations: 4.654 MB / 4.669 GB, free: 129.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/11.17, allocations: 341.7 kB / 4.669 GB, free: 129.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/11.17, allocations: 2.62 MB / 4.672 GB, free: 126.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/11.17, allocations: 33.7 kB / 4.672 GB, free: 126.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/11.17, allocations: 1.492 MB / 4.673 GB, free: 125.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/11.17, allocations: 437.5 kB / 4.674 GB, free: 124.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/11.17, allocations: 6.156 kB / 4.674 GB, free: 124.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/11.17, allocations: 369.9 kB / 4.674 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/11.17, allocations: 1.011 MB / 4.675 GB, free: 123.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/11.17, allocations: 1.43 MB / 4.677 GB, free: 121.8 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.005976/11.18, allocations: 3.727 MB / 4.68 GB, free: 118 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-06/11.18, allocations: 4 kB / 4.68 GB, free: 118 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004479/11.18, allocations: 2.785 MB / 4.683 GB, free: 115.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006228/11.18, allocations: 2.898 MB / 4.686 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/11.18, allocations: 10.31 kB / 4.686 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/11.18, allocations: 137.6 kB / 4.686 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/11.19, allocations: 265.7 kB / 4.686 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/11.19, allocations: 1.306 MB / 4.687 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/11.19, allocations: 168.1 kB / 4.688 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/11.19, allocations: 86.59 kB / 4.688 GB, free: 110.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/11.19, allocations: 4 kB / 4.688 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003817/11.19, allocations: 2.707 MB / 4.69 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/11.19, allocations: 6.188 kB / 4.69 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/11.19, allocations: 137.5 kB / 4.69 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/11.19, allocations: 268 kB / 4.691 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007706/11.2, allocations: 1.303 MB / 4.692 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/11.2, allocations: 175.8 kB / 4.692 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/11.2, allocations: 83.97 kB / 4.692 GB, free: 105.3 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: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006053/11.2, allocations: 337.7 kB / 4.693 GB, free: 105 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009559/11.2, allocations: 296.2 kB / 4.693 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/11.2, allocations: 2.168 MB / 4.695 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/11.2, allocations: 12 kB / 4.695 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/11.2, allocations: 3.953 kB / 4.695 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00262/11.21, allocations: 1.96 MB / 4.697 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/11.22, allocations: 5.368 MB / 4.702 GB, free: 95.04 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/11.22, allocations: 6.156 kB / 4.702 GB, free: 95.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/11.22, allocations: 259.6 kB / 4.702 GB, free: 94.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.941e-05/11.22, allocations: 14.09 kB / 4.702 GB, free: 94.77 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/11.22, allocations: 27.94 kB / 4.702 GB, free: 94.74 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/11.22, allocations: 12 kB / 4.702 GB, free: 94.73 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/11.22, allocations: 11.25 kB / 4.702 GB, free: 94.72 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005034/11.23, allocations: 4.153 MB / 4.706 GB, free: 90.35 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/11.23, allocations: 0.6846 MB / 4.707 GB, free: 89.64 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009859/11.23, allocations: 16 kB / 4.707 GB, free: 89.62 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/11.23, allocations: 143.1 kB / 4.707 GB, free: 89.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/11.23, allocations: 163.5 kB / 4.707 GB, free: 89.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/11.23, allocations: 62.44 kB / 4.707 GB, free: 89.28 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004166/11.24, allocations: 1.987 MB / 4.709 GB, free: 87.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/11.24, allocations: 0 / 4.709 GB, free: 87.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006314/11.24, allocations: 1.377 MB / 4.711 GB, free: 85.93 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * 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 (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.00486/11.25, allocations: 2.942 MB / 4.714 GB, free: 83.39 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005941/11.25, allocations: 5.458 MB / 4.719 GB, free: 77.64 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/11.25, allocations: 4 kB / 4.719 GB, free: 77.64 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/11.25, allocations: 1.836 MB / 4.721 GB, free: 75.73 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007489/11.26, allocations: 1.39 MB / 4.722 GB, free: 74.47 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/11.27, allocations: 5.149 MB / 4.727 GB, free: 69.39 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/11.28, allocations: 2.159 MB / 4.729 GB, free: 67.21 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005544/11.28, allocations: 0.973 MB / 4.73 GB, free: 66.29 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/11.28, allocations: 143.4 kB / 4.73 GB, free: 66.15 MB / 1.167 GB Notification: Performance of SimCode: time 2.014e-06/11.28, allocations: 1.312 kB / 4.73 GB, free: 66.15 MB / 1.167 GB Notification: Performance of Templates: time 0.1151/11.4, allocations: 72.45 MB / 4.801 GB, free: 11.14 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches