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.287/2.287, allocations: 387.4 MB / 394.9 MB, free: 13.3 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.00113/0.001131, allocations: 172.9 kB / 487.4 MB, free: 4.984 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.524/1.524, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 95.84 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.648e-05, allocations: 11.98 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.27, allocations: 2.184 GB / 3.39 GB, free: 115.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.27, allocations: 98 kB / 3.39 GB, free: 115.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.459/10.73, allocations: 1.239 GB / 4.628 GB, free: 154.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/10.73, allocations: 0 / 4.628 GB, free: 154.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004003/10.73, allocations: 82.7 kB / 4.629 GB, free: 154.3 MB / 1.151 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.009694/10.74, allocations: 3.468 MB / 4.632 GB, free: 151.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/10.74, allocations: 10.94 kB / 4.632 GB, free: 151.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/10.74, allocations: 0.5049 MB / 4.632 GB, free: 151.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/10.75, allocations: 3.305 MB / 4.636 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/10.75, allocations: 65.38 kB / 4.636 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/10.75, allocations: 124.4 kB / 4.636 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002892/10.75, allocations: 1.731 MB / 4.638 GB, free: 148.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/10.76, allocations: 2.095 MB / 4.64 GB, free: 147.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/10.76, allocations: 6.875 kB / 4.64 GB, free: 147.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/10.76, allocations: 6.031 kB / 4.64 GB, free: 147.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/10.76, allocations: 72.16 kB / 4.64 GB, free: 147.2 MB / 1.151 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.01289/10.77, allocations: 9.397 MB / 4.649 GB, free: 139.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/10.77, allocations: 1.275 MB / 4.65 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009407/10.77, allocations: 0.895 MB / 4.651 GB, free: 138.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007843/10.77, allocations: 1.177 MB / 4.652 GB, free: 137.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/10.77, allocations: 52.56 kB / 4.652 GB, free: 137.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 4.479e-06/10.77, allocations: 3.938 kB / 4.652 GB, free: 137.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=115): time 0.008587/10.78, allocations: 4.207 MB / 4.656 GB, free: 134.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/10.78, allocations: 292 kB / 4.657 GB, free: 134.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/10.78, allocations: 2.541 MB / 4.659 GB, free: 133.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003417/10.79, allocations: 38.39 kB / 4.659 GB, free: 133.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/10.79, allocations: 1.42 MB / 4.66 GB, free: 131.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/10.79, allocations: 385.7 kB / 4.661 GB, free: 131.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/10.79, allocations: 2.969 kB / 4.661 GB, free: 131.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/10.79, allocations: 355 kB / 4.661 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/10.79, allocations: 0.969 MB / 4.662 GB, free: 130.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/10.79, allocations: 1.367 MB / 4.663 GB, free: 128.8 MB / 1.151 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.004466/10.79, allocations: 2.51 MB / 4.666 GB, free: 126.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/10.79, allocations: 4 kB / 4.666 GB, free: 126.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00521/10.8, allocations: 2.579 MB / 4.668 GB, free: 123.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001265/10.8, allocations: 2.869 MB / 4.671 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/10.8, allocations: 4 kB / 4.671 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.944e-05/10.8, allocations: 12 kB / 4.671 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/10.8, allocations: 263.2 kB / 4.671 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/10.8, allocations: 0.628 MB / 4.672 GB, free: 119.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/10.81, allocations: 149.4 kB / 4.672 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/10.81, allocations: 79.97 kB / 4.672 GB, free: 119.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/10.81, allocations: 4 kB / 4.672 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003513/10.81, allocations: 2.504 MB / 4.675 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/10.81, allocations: 8 kB / 4.675 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/10.81, allocations: 12 kB / 4.675 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/10.81, allocations: 253.6 kB / 4.675 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/10.81, allocations: 15.94 kB / 4.675 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/10.81, allocations: 147.3 kB / 4.675 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/10.81, allocations: 75.97 kB / 4.675 GB, free: 116.5 MB / 1.151 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.000516/10.81, allocations: 336.8 kB / 4.676 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008747/10.81, allocations: 279.1 kB / 4.676 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/10.82, allocations: 2.019 MB / 4.678 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/10.82, allocations: 13.5 kB / 4.678 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/10.82, allocations: 0 / 4.678 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002202/10.82, allocations: 1.852 MB / 4.68 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/10.83, allocations: 5.055 MB / 4.685 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/10.83, allocations: 4 kB / 4.685 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/10.83, allocations: 228.8 kB / 4.685 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/10.83, allocations: 12 kB / 4.685 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/10.83, allocations: 21.12 kB / 4.685 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002533/10.83, allocations: 0.6144 MB / 4.685 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/10.83, allocations: 11.94 kB / 4.685 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004793/10.84, allocations: 3.942 MB / 4.689 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/10.84, allocations: 0.642 MB / 4.69 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009908/10.84, allocations: 20 kB / 4.69 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/10.84, allocations: 139.5 kB / 4.69 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/10.84, allocations: 150.9 kB / 4.69 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/10.84, allocations: 57.03 kB / 4.69 GB, free: 100.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004672/10.85, allocations: 1.929 MB / 4.692 GB, free: 98.73 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.01e-07/10.85, allocations: 6.062 kB / 4.692 GB, free: 98.73 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007075/10.85, allocations: 1.339 MB / 4.693 GB, free: 97.39 MB / 1.151 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.005092/10.86, allocations: 2.944 MB / 4.696 GB, free: 94.85 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005882/10.87, allocations: 5.24 MB / 4.701 GB, free: 89.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/10.87, allocations: 0 / 4.701 GB, free: 89.32 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/10.87, allocations: 1.795 MB / 4.703 GB, free: 87.45 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00741/10.87, allocations: 1.353 MB / 4.705 GB, free: 86.22 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/10.89, allocations: 4.755 MB / 4.709 GB, free: 81.53 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/10.89, allocations: 2.082 MB / 4.711 GB, free: 79.43 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006303/10.9, allocations: 0.9592 MB / 4.712 GB, free: 78.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/10.9, allocations: 135.4 kB / 4.712 GB, free: 78.38 MB / 1.151 GB Notification: Performance of SimCode: time 1.503e-06/10.9, allocations: 0 / 4.712 GB, free: 78.38 MB / 1.151 GB Notification: Performance of Templates: time 0.1054/11, allocations: 69.1 MB / 4.78 GB, free: 10.78 MB / 1.151 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