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.35/2.35, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001446/0.001446, allocations: 184 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.771/1.771, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001129/0.001129, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.494e-05/5.526e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.409, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.514, allocations: 2.185 GB / 3.404 GB, free: 50.29 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/6.514, allocations: 97.06 kB / 3.404 GB, free: 50.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.69/11.2, allocations: 1.248 GB / 4.652 GB, free: 109.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.809e-06/11.2, allocations: 3.938 kB / 4.652 GB, free: 109.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005666/11.2, allocations: 80.11 kB / 4.652 GB, free: 109.5 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.009967/11.21, allocations: 3.484 MB / 4.655 GB, free: 105.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/11.21, allocations: 8.031 kB / 4.655 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/11.22, allocations: 0.5065 MB / 4.656 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008787/11.23, allocations: 3.298 MB / 4.659 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/11.23, allocations: 155.7 kB / 4.659 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007928/11.23, allocations: 203.9 kB / 4.659 GB, free: 101.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/11.23, allocations: 2.367 MB / 4.662 GB, free: 99.35 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/11.23, allocations: 4 kB / 4.662 GB, free: 99.34 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003461/11.23, allocations: 90.56 kB / 4.662 GB, free: 99.26 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/11.23, allocations: 63.64 kB / 4.662 GB, free: 99.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/11.24, allocations: 1.838 MB / 4.664 GB, free: 97.36 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.01617/11.25, allocations: 9.821 MB / 4.673 GB, free: 87.31 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/11.26, allocations: 1.323 MB / 4.674 GB, free: 85.98 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/11.26, allocations: 0.9249 MB / 4.675 GB, free: 85.05 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008231/11.26, allocations: 1.178 MB / 4.676 GB, free: 83.62 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/11.26, allocations: 47.56 kB / 4.677 GB, free: 83.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.696e-06/11.26, allocations: 1.094 kB / 4.677 GB, free: 83.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.00902/11.27, allocations: 4.849 MB / 4.681 GB, free: 78.55 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/11.27, allocations: 282 kB / 4.682 GB, free: 78.21 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008216/11.28, allocations: 2.98 MB / 4.684 GB, free: 75.24 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006961/11.28, allocations: 61.64 kB / 4.684 GB, free: 75.17 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/11.28, allocations: 1.407 MB / 4.686 GB, free: 73.75 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008459/11.28, allocations: 392.6 kB / 4.686 GB, free: 73.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/11.28, allocations: 31.94 kB / 4.686 GB, free: 73.34 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001749/11.28, allocations: 360.7 kB / 4.687 GB, free: 72.99 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/11.28, allocations: 0.9912 MB / 4.688 GB, free: 72 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/11.28, allocations: 1.4 MB / 4.689 GB, free: 70.46 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.005418/11.29, allocations: 2.948 MB / 4.692 GB, free: 67.39 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/11.29, allocations: 0 / 4.692 GB, free: 67.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004509/11.29, allocations: 3.027 MB / 4.695 GB, free: 64.29 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006304/11.29, allocations: 2.917 MB / 4.698 GB, free: 61.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/11.29, allocations: 11.89 kB / 4.698 GB, free: 61.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.826e-05/11.29, allocations: 12 kB / 4.698 GB, free: 61.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/11.3, allocations: 251.7 kB / 4.698 GB, free: 60.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003284/11.3, allocations: 0.6156 MB / 4.699 GB, free: 60.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/11.3, allocations: 189.7 kB / 4.699 GB, free: 60.03 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/11.3, allocations: 78.17 kB / 4.699 GB, free: 59.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/11.3, allocations: 4 kB / 4.699 GB, free: 59.95 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003536/11.3, allocations: 3.134 MB / 4.702 GB, free: 56.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/11.3, allocations: 4 kB / 4.702 GB, free: 56.75 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/11.3, allocations: 12 kB / 4.702 GB, free: 56.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/11.3, allocations: 247.6 kB / 4.702 GB, free: 56.49 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/11.3, allocations: 19.89 kB / 4.702 GB, free: 56.47 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/11.31, allocations: 180 kB / 4.702 GB, free: 56.31 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/11.31, allocations: 83.97 kB / 4.702 GB, free: 56.23 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.0005028/11.31, allocations: 382.4 kB / 4.703 GB, free: 55.82 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/11.31, allocations: 304.2 kB / 4.703 GB, free: 55.52 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/11.31, allocations: 2.312 MB / 4.705 GB, free: 53.16 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/11.31, allocations: 12 kB / 4.705 GB, free: 53.15 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/11.31, allocations: 3.953 kB / 4.705 GB, free: 53.15 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/11.31, allocations: 2.089 MB / 4.707 GB, free: 50.97 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009508/11.32, allocations: 5.555 MB / 4.713 GB, free: 45.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/11.32, allocations: 4 kB / 4.713 GB, free: 45.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/11.32, allocations: 217.3 kB / 4.713 GB, free: 45.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/11.32, allocations: 12 kB / 4.713 GB, free: 45.06 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/11.32, allocations: 47.94 kB / 4.713 GB, free: 45.01 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/11.32, allocations: 0.6108 MB / 4.714 GB, free: 44.38 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/11.32, allocations: 5.562 kB / 4.714 GB, free: 44.38 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/11.33, allocations: 4.341 MB / 4.718 GB, free: 39.76 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/11.33, allocations: 0.6806 MB / 4.719 GB, free: 39.06 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008889/11.33, allocations: 36 kB / 4.719 GB, free: 39.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/11.33, allocations: 157.2 kB / 4.719 GB, free: 38.88 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/11.33, allocations: 150.7 kB / 4.719 GB, free: 38.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/11.33, allocations: 55.97 kB / 4.719 GB, free: 38.69 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004781/11.34, allocations: 2.307 MB / 4.721 GB, free: 36.39 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/11.34, allocations: 2.875 kB / 4.721 GB, free: 36.39 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006708/11.35, allocations: 1.464 MB / 4.723 GB, free: 34.93 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.004519/11.35, allocations: 2.883 MB / 4.725 GB, free: 32.44 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006176/11.36, allocations: 5.375 MB / 4.731 GB, free: 26.77 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/11.36, allocations: 4 kB / 4.731 GB, free: 26.77 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/11.36, allocations: 1.819 MB / 4.732 GB, free: 24.88 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008424/11.37, allocations: 1.597 MB / 4.734 GB, free: 23.42 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/11.38, allocations: 4.869 MB / 4.739 GB, free: 18.59 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/11.38, allocations: 2.084 MB / 4.741 GB, free: 16.49 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005005/11.39, allocations: 1.04 MB / 4.742 GB, free: 15.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/11.39, allocations: 147.4 kB / 4.742 GB, free: 15.35 MB / 1.167 GB Notification: Performance of SimCode: time 9.82e-07/11.39, allocations: 4 kB / 4.742 GB, free: 15.35 MB / 1.167 GB Notification: Performance of Templates: time 0.9416/12.33, allocations: 97.52 MB / 4.837 GB, free: 158.2 MB / 1.198 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