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.463/2.463, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001206/0.001207, allocations: 169.1 kB / 498.1 MB, free: 5.73 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.604/1.604, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.001314/0.001314, allocations: 88.27 kB / 0.9346 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 11.75 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.134/5.457, allocations: 2.184 GB / 3.407 GB, free: 235 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/5.457, allocations: 103.9 kB / 3.407 GB, free: 234.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.557/10.01, allocations: 1.25 GB / 4.658 GB, free: 158.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.497e-06/10.01, allocations: 0 / 4.658 GB, free: 158.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004833/10.02, allocations: 86.47 kB / 4.658 GB, free: 158.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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01241/10.03, allocations: 4.133 MB / 4.662 GB, free: 156.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/10.03, allocations: 10.53 kB / 4.662 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/10.03, allocations: 0.5189 MB / 4.663 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007911/10.04, allocations: 3.313 MB / 4.666 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/10.04, allocations: 153 kB / 4.666 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/10.04, allocations: 204.6 kB / 4.666 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/10.04, allocations: 2.417 MB / 4.668 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/10.04, allocations: 0 / 4.668 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/10.04, allocations: 87.91 kB / 4.669 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/10.04, allocations: 68.17 kB / 4.669 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/10.05, allocations: 1.911 MB / 4.67 GB, free: 155.2 MB / 1.167 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.01618/10.06, allocations: 9.827 MB / 4.68 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/10.07, allocations: 1.361 MB / 4.681 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/10.07, allocations: 1.177 MB / 4.683 GB, free: 150.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/10.07, allocations: 51.31 kB / 4.683 GB, free: 150.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 4.548e-06/10.07, allocations: 5.094 kB / 4.683 GB, free: 150.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.01036/10.08, allocations: 6.212 MB / 4.689 GB, free: 148.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/10.08, allocations: 287.5 kB / 4.689 GB, free: 148.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/10.08, allocations: 3.006 MB / 4.692 GB, free: 148.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004144/10.08, allocations: 62.7 kB / 4.692 GB, free: 148.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/10.08, allocations: 1.408 MB / 4.693 GB, free: 147.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/10.08, allocations: 389 kB / 4.694 GB, free: 147.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/10.09, allocations: 32.09 kB / 4.694 GB, free: 147.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000111/10.09, allocations: 358.9 kB / 4.694 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/10.09, allocations: 1.021 MB / 4.695 GB, free: 147.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/10.09, allocations: 1.444 MB / 4.696 GB, free: 146.8 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.005039/10.09, allocations: 2.962 MB / 4.699 GB, free: 146 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/10.09, allocations: 2.375 kB / 4.699 GB, free: 146 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004546/10.1, allocations: 3.085 MB / 4.702 GB, free: 145.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000797/10.1, allocations: 2.909 MB / 4.705 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/10.1, allocations: 9.875 kB / 4.705 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-05/10.1, allocations: 9.906 kB / 4.705 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/10.1, allocations: 258.7 kB / 4.705 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003338/10.1, allocations: 0.6159 MB / 4.706 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/10.1, allocations: 185.6 kB / 4.706 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/10.1, allocations: 80.53 kB / 4.706 GB, free: 141.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/10.1, allocations: 5.188 kB / 4.706 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003849/10.11, allocations: 3.184 MB / 4.709 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/10.11, allocations: 9 kB / 4.709 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/10.11, allocations: 14.03 kB / 4.709 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/10.11, allocations: 249.2 kB / 4.71 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/10.11, allocations: 17.86 kB / 4.71 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/10.11, allocations: 180.8 kB / 4.71 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/10.11, allocations: 80.34 kB / 4.71 GB, free: 141.4 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 () * 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.002494/10.11, allocations: 1.094 MB / 4.711 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009806/10.11, allocations: 309.2 kB / 4.711 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/10.12, allocations: 2.377 MB / 4.714 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/10.12, allocations: 14.03 kB / 4.714 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/10.12, allocations: 0 / 4.714 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00235/10.12, allocations: 2.143 MB / 4.716 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/10.13, allocations: 5.616 MB / 4.721 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/10.13, allocations: 6.844 kB / 4.721 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/10.13, allocations: 224.1 kB / 4.721 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/10.13, allocations: 11 kB / 4.721 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.49e-05/10.13, allocations: 35.39 kB / 4.721 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002699/10.13, allocations: 0.614 MB / 4.722 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/10.13, allocations: 13.05 kB / 4.722 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/10.14, allocations: 4.423 MB / 4.726 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/10.14, allocations: 0.6804 MB / 4.727 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/10.14, allocations: 39.88 kB / 4.727 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/10.14, allocations: 154.9 kB / 4.727 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/10.14, allocations: 153 kB / 4.727 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/10.14, allocations: 58.08 kB / 4.727 GB, free: 137 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003753/10.15, allocations: 2.335 MB / 4.73 GB, free: 136.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.2e-07/10.15, allocations: 0 / 4.73 GB, free: 136.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005637/10.15, allocations: 1.465 MB / 4.731 GB, free: 135.9 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) * 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.004615/10.16, allocations: 2.863 MB / 4.734 GB, free: 134.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005678/10.16, allocations: 5.349 MB / 4.739 GB, free: 131.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/10.16, allocations: 2.219 kB / 4.739 GB, free: 131.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/10.16, allocations: 1.853 MB / 4.741 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008167/10.17, allocations: 1.58 MB / 4.743 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/10.18, allocations: 6.855 MB / 4.749 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/10.19, allocations: 2.074 MB / 4.751 GB, free: 126.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003535/10.19, allocations: 0.6361 MB / 4.752 GB, free: 126.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/10.19, allocations: 199.5 kB / 4.752 GB, free: 126.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.064e-06/10.19, allocations: 0 / 4.752 GB, free: 126.1 MB / 1.167 GB Notification: Performance of Templates: time 0.1256/10.32, allocations: 87.09 MB / 4.837 GB, free: 79.9 MB / 1.167 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