Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.5 MB / 257 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.00122, allocations: 180.8 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 88.73 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.633e-05, allocations: 4 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2383, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.084/7.322, allocations: 2.461 GB / 3.346 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/7.322, allocations: 96.69 kB / 3.346 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.093/11.41, allocations: 1.193 GB / 4.539 GB, free: 64.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.714e-06/11.41, allocations: 0 / 4.539 GB, free: 64.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003431/11.42, allocations: 82.25 kB / 4.539 GB, free: 64.73 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.007462/11.42, allocations: 3.489 MB / 4.543 GB, free: 61.12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/11.42, allocations: 8.031 kB / 4.543 GB, free: 61.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/11.42, allocations: 0.5074 MB / 4.543 GB, free: 60.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006577/11.43, allocations: 3.275 MB / 4.546 GB, free: 57.35 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/11.43, allocations: 71.38 kB / 4.546 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/11.43, allocations: 127.9 kB / 4.546 GB, free: 57.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003294/11.44, allocations: 1.726 MB / 4.548 GB, free: 55.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/11.44, allocations: 2.096 MB / 4.55 GB, free: 53.29 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/11.44, allocations: 7.938 kB / 4.55 GB, free: 53.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/11.44, allocations: 8 kB / 4.55 GB, free: 53.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/11.44, allocations: 76.77 kB / 4.55 GB, free: 53.21 MB / 0.8855 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.01418/11.45, allocations: 9.393 MB / 4.559 GB, free: 43.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/11.45, allocations: 1.276 MB / 4.561 GB, free: 42.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008619/11.46, allocations: 0.8945 MB / 4.562 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008014/11.46, allocations: 1.18 MB / 4.563 GB, free: 39.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/11.46, allocations: 48.41 kB / 4.563 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=113): time 4.278e-06/11.46, allocations: 0 / 4.563 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115): time 0.008015/11.46, allocations: 4.216 MB / 4.567 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/11.46, allocations: 290.3 kB / 4.567 GB, free: 35.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/11.47, allocations: 2.539 MB / 4.57 GB, free: 32.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/11.47, allocations: 33.7 kB / 4.57 GB, free: 32.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/11.47, allocations: 1.42 MB / 4.571 GB, free: 31.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/11.47, allocations: 390.2 kB / 4.571 GB, free: 30.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/11.47, allocations: 4 kB / 4.571 GB, free: 30.92 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001048/11.47, allocations: 357.9 kB / 4.572 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/11.47, allocations: 0.9639 MB / 4.573 GB, free: 29.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/11.47, allocations: 1.382 MB / 4.574 GB, free: 28.08 MB / 0.8855 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.004541/11.48, allocations: 2.483 MB / 4.577 GB, free: 25.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/11.48, allocations: 4 kB / 4.577 GB, free: 25.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005186/11.48, allocations: 2.565 MB / 4.579 GB, free: 22.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/11.48, allocations: 2.867 MB / 4.582 GB, free: 19.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/11.48, allocations: 14.3 kB / 4.582 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/11.48, allocations: 12 kB / 4.582 GB, free: 19.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/11.48, allocations: 255.6 kB / 4.582 GB, free: 19.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004255/11.49, allocations: 0.6274 MB / 4.583 GB, free: 18.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/11.49, allocations: 145.8 kB / 4.583 GB, free: 18.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/11.49, allocations: 79.97 kB / 4.583 GB, free: 18.76 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/11.49, allocations: 4 kB / 4.583 GB, free: 18.75 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003642/11.49, allocations: 2.5 MB / 4.585 GB, free: 16.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/11.49, allocations: 7.938 kB / 4.585 GB, free: 16.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/11.49, allocations: 12 kB / 4.585 GB, free: 16.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/11.49, allocations: 249.8 kB / 4.586 GB, free: 16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/11.49, allocations: 15.94 kB / 4.586 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/11.5, allocations: 145.3 kB / 4.586 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/11.5, allocations: 79.91 kB / 4.586 GB, free: 15.77 MB / 0.8855 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.0005341/11.5, allocations: 341.7 kB / 4.586 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/11.5, allocations: 280.4 kB / 4.586 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/11.5, allocations: 2.023 MB / 4.588 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/11.5, allocations: 8 kB / 4.588 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/11.5, allocations: 8 kB / 4.588 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/11.5, allocations: 1.84 MB / 4.59 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/11.51, allocations: 5.035 MB / 4.595 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/11.51, allocations: 8 kB / 4.595 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/11.52, allocations: 228.4 kB / 4.595 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.128e-05/11.52, allocations: 12 kB / 4.595 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/11.52, allocations: 20 kB / 4.595 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002469/11.52, allocations: 0.6094 MB / 4.596 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/11.52, allocations: 15.89 kB / 4.596 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/11.52, allocations: 3.962 MB / 4.6 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/11.52, allocations: 0.6459 MB / 4.601 GB, free: 256 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007602/11.52, allocations: 20 kB / 4.601 GB, free: 236 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/11.52, allocations: 131.7 kB / 4.601 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/11.52, allocations: 152.5 kB / 4.601 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/11.53, allocations: 51.94 kB / 4.601 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004446/11.53, allocations: 1.932 MB / 4.603 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/11.53, allocations: 0 / 4.603 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005949/11.54, allocations: 1.351 MB / 4.604 GB, free: 12.62 MB / 0.9011 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.U,vol.dynBal.mXi[1],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.004744/11.54, allocations: 2.941 MB / 4.607 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006494/11.55, allocations: 5.24 MB / 4.612 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/11.55, allocations: 4 kB / 4.612 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/11.55, allocations: 1.786 MB / 4.614 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007226/11.56, allocations: 1.373 MB / 4.615 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/11.57, allocations: 4.752 MB / 4.62 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/11.57, allocations: 2.083 MB / 4.622 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004116/11.57, allocations: 0.9494 MB / 4.623 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/11.57, allocations: 143.4 kB / 4.623 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/11.57, allocations: 0 / 4.623 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of Templates: time 0.7434/12.32, allocations: 69.56 MB / 4.691 GB, free: 107.6 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches