Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea.watCoo_a.m_flow|beaCooHea.watHea_a.m_flow|beaCooHea.air_a.m_flow|beaCooHea.staWatCoo_b.T|beaCooHea.staAir_b.T|beaCooHea.staHea_b.T|beaCooHea10.staWatCoo_b.T|beaCooHea10.staAir_b.T|beaCooHea10.staHea_b.T|beaCooHea10.heaPor.T|beaCooHea10.heaPor.Q_flow|beaCooHea.heaPor.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea.watCoo_a.m_flow|beaCooHea.watHea_a.m_flow|beaCooHea.air_a.m_flow|beaCooHea.staWatCoo_b.T|beaCooHea.staAir_b.T|beaCooHea.staHea_b.T|beaCooHea10.staWatCoo_b.T|beaCooHea10.staAir_b.T|beaCooHea10.staHea_b.T|beaCooHea10.heaPor.T|beaCooHea10.heaPor.Q_flow|beaCooHea.heaPor.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.155/1.155, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 193.1 kB / 316 MB, free: 7.203 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.169/1.169, allocations: 205.1 MB / 0.5667 GB, free: 23.57 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.0008014/0.0008014, allocations: 95.53 kB / 0.671 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.841e-06, allocations: 0 / 0.7807 GB, free: 408 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3335, allocations: 106.3 MB / 0.8846 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.12/4.454, allocations: 2.492 GB / 3.376 GB, free: 315.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/4.454, allocations: 99.81 kB / 3.376 GB, free: 315.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 12.26/16.72, allocations: 4.37 GB / 7.746 GB, free: 75.66 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.0008378/16.72, allocations: 200.5 kB / 7.746 GB, free: 75.63 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.01654/16.73, allocations: 8.047 MB / 7.754 GB, free: 71.88 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/16.73, allocations: 11.62 kB / 7.754 GB, free: 71.88 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006024/16.74, allocations: 1.565 MB / 7.756 GB, free: 71.38 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/16.76, allocations: 9.912 MB / 7.765 GB, free: 70.13 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/16.76, allocations: 148.3 kB / 7.765 GB, free: 70.13 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006378/16.76, allocations: 299.2 kB / 7.766 GB, free: 70.12 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006212/16.76, allocations: 4.136 MB / 7.77 GB, free: 70.1 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007234/16.77, allocations: 4.957 MB / 7.775 GB, free: 69.55 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/16.77, allocations: 10.92 kB / 7.775 GB, free: 69.55 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004346/16.77, allocations: 12.47 kB / 7.775 GB, free: 69.55 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/16.77, allocations: 167.9 kB / 7.775 GB, free: 69.54 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03515/16.81, allocations: 26.68 MB / 7.801 GB, free: 58.73 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/16.81, allocations: 2.851 MB / 7.804 GB, free: 58.59 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/16.81, allocations: 1.839 MB / 7.805 GB, free: 58.57 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/16.82, allocations: 8.134 MB / 7.813 GB, free: 55.14 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/16.82, allocations: 55 kB / 7.813 GB, free: 55.11 MB / 1.073 GB Notification: Performance of pre-optimization done (n=213): time 4.458e-06/16.82, allocations: 0 / 7.813 GB, free: 55.11 MB / 1.073 GB Notification: Performance of matching and sorting (n=213): time 0.008082/16.83, allocations: 4.227 MB / 7.818 GB, free: 54.66 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/16.83, allocations: 417.7 kB / 7.818 GB, free: 54.22 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009826/16.84, allocations: 6.435 MB / 7.824 GB, free: 53.76 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007251/16.84, allocations: 36.7 kB / 7.824 GB, free: 53.73 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/16.84, allocations: 2.109 MB / 7.826 GB, free: 52.74 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/16.85, allocations: 0.6796 MB / 7.827 GB, free: 52.29 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/16.85, allocations: 10.44 kB / 7.827 GB, free: 52.29 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001482/16.85, allocations: 436.9 kB / 7.827 GB, free: 51.98 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/16.85, allocations: 2.126 MB / 7.83 GB, free: 51.97 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/16.85, allocations: 3.444 MB / 7.833 GB, free: 50.47 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005003/16.86, allocations: 2.663 MB / 7.835 GB, free: 50.42 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/16.86, allocations: 10.59 kB / 7.835 GB, free: 50.42 MB / 1.073 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01035/16.87, allocations: 6.085 MB / 7.841 GB, free: 49.95 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001896/16.87, allocations: 15.6 MB / 7.857 GB, free: 33.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/16.87, allocations: 27.44 kB / 7.857 GB, free: 33.62 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-05/16.87, allocations: 49.12 kB / 7.857 GB, free: 33.62 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/16.87, allocations: 0.6816 MB / 7.857 GB, free: 33.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/16.87, allocations: 68.45 kB / 7.857 GB, free: 33.62 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/16.88, allocations: 0.5663 MB / 7.858 GB, free: 33.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/16.88, allocations: 211 kB / 7.858 GB, free: 33.43 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/16.88, allocations: 8.781 kB / 7.858 GB, free: 33.43 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008287/16.89, allocations: 5.238 MB / 7.863 GB, free: 33.35 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/16.89, allocations: 30.91 kB / 7.863 GB, free: 33.35 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/16.89, allocations: 50.12 kB / 7.863 GB, free: 33.35 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/16.89, allocations: 0.6752 MB / 7.864 GB, free: 33.35 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/16.89, allocations: 62.12 kB / 7.864 GB, free: 33.35 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/16.89, allocations: 495 kB / 7.865 GB, free: 33.22 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/16.89, allocations: 204.6 kB / 7.865 GB, free: 33.22 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 24 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0008189/16.9, allocations: 0.5753 MB / 7.865 GB, free: 32.72 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/16.9, allocations: 0.6768 MB / 7.866 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/16.91, allocations: 4.807 MB / 7.871 GB, free: 32.18 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/16.91, allocations: 30.84 kB / 7.871 GB, free: 32.18 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/16.91, allocations: 3.25 kB / 7.871 GB, free: 32.18 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005117/16.91, allocations: 3.732 MB / 7.874 GB, free: 31.89 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/16.93, allocations: 10.46 MB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/16.93, allocations: 6.625 kB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/16.93, allocations: 436.3 kB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/16.93, allocations: 13.09 kB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/16.93, allocations: 55.92 kB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/16.93, allocations: 21.64 kB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/16.93, allocations: 8.656 kB / 7.885 GB, free: 31.24 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009591/16.94, allocations: 8.133 MB / 7.893 GB, free: 29.34 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003701/16.94, allocations: 1.41 MB / 7.894 GB, free: 28.85 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/16.95, allocations: 30.61 kB / 7.894 GB, free: 28.85 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004066/16.95, allocations: 306.6 kB / 7.895 GB, free: 28.84 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/16.95, allocations: 265.1 kB / 7.895 GB, free: 28.83 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/16.95, allocations: 114.9 kB / 7.895 GB, free: 28.83 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.007869/16.96, allocations: 4.828 MB / 7.9 GB, free: 28.58 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0148/16.97, allocations: 3.701 MB / 7.903 GB, free: 28.04 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.00857/16.98, allocations: 7.094 MB / 7.91 GB, free: 24.84 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01024/16.99, allocations: 8.777 MB / 7.919 GB, free: 23.25 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/16.99, allocations: 0.8438 kB / 7.919 GB, free: 23.25 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003547/17, allocations: 3.319 MB / 7.922 GB, free: 22.88 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01362/17.01, allocations: 3.115 MB / 7.925 GB, free: 22.79 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/17.03, allocations: 11.13 MB / 7.936 GB, free: 20.32 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005453/17.04, allocations: 4.683 MB / 7.941 GB, free: 19.46 MB / 1.073 GB Notification: Performance of SimCode: time 2.024e-06/17.04, allocations: 0.875 kB / 7.941 GB, free: 19.46 MB / 1.073 GB Notification: Performance of Templates: time 0.2476/17.29, allocations: 172.3 MB / 8.109 GB, free: 9.773 MB / 1.104 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches