Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001114/0.001114, allocations: 184.8 kB / 487 MB, free: 5.352 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.471/1.471, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0009968/0.0009968, allocations: 97.81 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.05e-05/1.052e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.301, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/4.996, allocations: 2.202 GB / 3.407 GB, free: 75.69 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.996, allocations: 98.03 kB / 3.408 GB, free: 75.64 MB / 1.151 GB Notification: Performance of FrontEnd: time 15.8/20.79, allocations: 4.519 GB / 7.926 GB, free: 93.27 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.001471/20.8, allocations: 198.7 kB / 7.927 GB, free: 93.24 MB / 1.339 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.02398/20.82, allocations: 8.059 MB / 7.934 GB, free: 89.14 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/20.82, allocations: 14.94 kB / 7.934 GB, free: 89.14 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/20.83, allocations: 1.95 MB / 7.936 GB, free: 88.64 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03191/20.86, allocations: 10.08 MB / 7.946 GB, free: 87.39 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/20.86, allocations: 152.1 kB / 7.946 GB, free: 87.39 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/20.86, allocations: 292.9 kB / 7.947 GB, free: 87.38 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0102/20.88, allocations: 4.195 MB / 7.951 GB, free: 87.36 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/20.89, allocations: 5.01 MB / 7.956 GB, free: 86.8 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002772/20.89, allocations: 7.75 kB / 7.956 GB, free: 86.8 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/20.89, allocations: 14.83 kB / 7.956 GB, free: 86.8 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/20.89, allocations: 169.3 kB / 7.956 GB, free: 86.79 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/20.95, allocations: 26.9 MB / 7.982 GB, free: 75.96 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/20.95, allocations: 2.892 MB / 7.985 GB, free: 75.83 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/20.95, allocations: 1.864 MB / 7.987 GB, free: 75.82 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/20.97, allocations: 8.244 MB / 7.995 GB, free: 72.36 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/20.97, allocations: 62.81 kB / 7.995 GB, free: 72.32 MB / 1.339 GB Notification: Performance of pre-optimization done (n=213): time 5.42e-06/20.97, allocations: 0 / 7.995 GB, free: 72.32 MB / 1.339 GB Notification: Performance of matching and sorting (n=213): time 0.0118/20.98, allocations: 4.258 MB / 7.999 GB, free: 71.88 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/20.98, allocations: 417.8 kB / 7.999 GB, free: 71.45 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0165/21, allocations: 6.441 MB / 8.006 GB, free: 70.99 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/21, allocations: 39.77 kB / 8.006 GB, free: 70.96 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.003304/21, allocations: 2.115 MB / 8.008 GB, free: 69.96 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002264/21, allocations: 0.6902 MB / 8.008 GB, free: 69.51 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/21, allocations: 9.344 kB / 8.008 GB, free: 69.51 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0003285/21.01, allocations: 437.7 kB / 8.009 GB, free: 69.2 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/21.01, allocations: 2.144 MB / 8.011 GB, free: 69.19 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004313/21.01, allocations: 3.464 MB / 8.014 GB, free: 67.68 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/21.02, allocations: 2.672 MB / 8.017 GB, free: 67.63 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.165e-05/21.02, allocations: 11.03 kB / 8.017 GB, free: 67.63 MB / 1.339 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01457/21.03, allocations: 6.13 MB / 8.023 GB, free: 67.16 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.002951/21.04, allocations: 15.6 MB / 8.038 GB, free: 50.82 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.752e-05/21.04, allocations: 34.78 kB / 8.038 GB, free: 50.82 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.915e-05/21.04, allocations: 53.91 kB / 8.038 GB, free: 50.82 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/21.04, allocations: 0.7163 MB / 8.039 GB, free: 50.82 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-05/21.04, allocations: 63.55 kB / 8.039 GB, free: 50.82 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007514/21.05, allocations: 0.6043 MB / 8.04 GB, free: 50.62 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/21.05, allocations: 209.5 kB / 8.04 GB, free: 50.62 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/21.05, allocations: 10.12 kB / 8.04 GB, free: 50.62 MB / 1.339 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01273/21.06, allocations: 5.276 MB / 8.045 GB, free: 50.55 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/21.06, allocations: 28.72 kB / 8.045 GB, free: 50.55 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.679e-05/21.06, allocations: 47.66 kB / 8.045 GB, free: 50.55 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/21.07, allocations: 0.7127 MB / 8.046 GB, free: 50.55 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-05/21.07, allocations: 66.67 kB / 8.046 GB, free: 50.55 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007873/21.07, allocations: 0.5084 MB / 8.046 GB, free: 50.42 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/21.08, allocations: 214.2 kB / 8.047 GB, free: 50.42 MB / 1.339 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.002186/21.08, allocations: 0.5711 MB / 8.047 GB, free: 49.91 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003257/21.08, allocations: 0.6831 MB / 8.048 GB, free: 49.55 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/21.09, allocations: 4.869 MB / 8.052 GB, free: 49.38 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/21.09, allocations: 24.39 kB / 8.053 GB, free: 49.38 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/21.09, allocations: 0 / 8.053 GB, free: 49.38 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006707/21.1, allocations: 3.78 MB / 8.056 GB, free: 49.08 MB / 1.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03315/21.13, allocations: 10.61 MB / 8.067 GB, free: 48.42 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/21.13, allocations: 6.906 kB / 8.067 GB, free: 48.42 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/21.14, allocations: 477.2 kB / 8.067 GB, free: 48.42 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.742e-05/21.14, allocations: 14.41 kB / 8.067 GB, free: 48.42 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006458/21.14, allocations: 59.97 kB / 8.067 GB, free: 48.41 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.09e-05/21.14, allocations: 15.59 kB / 8.067 GB, free: 48.41 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/21.14, allocations: 11.98 kB / 8.067 GB, free: 48.41 MB / 1.339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01609/21.15, allocations: 8.212 MB / 8.075 GB, free: 46.52 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005999/21.16, allocations: 1.426 MB / 8.077 GB, free: 46.02 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003466/21.16, allocations: 26.28 kB / 8.077 GB, free: 46.02 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009222/21.17, allocations: 338.9 kB / 8.077 GB, free: 46.01 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001685/21.17, allocations: 266.9 kB / 8.077 GB, free: 46.01 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001161/21.18, allocations: 124.6 kB / 8.077 GB, free: 46.01 MB / 1.339 GB Notification: Performance of sort global known variables: time 0.01795/21.19, allocations: 4.837 MB / 8.082 GB, free: 45.76 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.02107/21.21, allocations: 3.754 MB / 8.086 GB, free: 45.21 MB / 1.339 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.01242/21.23, allocations: 7.105 MB / 8.093 GB, free: 41.96 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.01744/21.24, allocations: 8.853 MB / 8.101 GB, free: 38.79 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/21.24, allocations: 1.312 kB / 8.101 GB, free: 38.79 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.005918/21.25, allocations: 3.336 MB / 8.104 GB, free: 37.14 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02039/21.27, allocations: 3.062 MB / 8.107 GB, free: 36.56 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/21.31, allocations: 11.22 MB / 8.118 GB, free: 32.27 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/21.32, allocations: 4.7 MB / 8.123 GB, free: 30.97 MB / 1.339 GB Notification: Performance of SimCode: time 1.252e-06/21.32, allocations: 0 / 8.123 GB, free: 30.97 MB / 1.339 GB Notification: Performance of Templates: time 1.038/22.36, allocations: 173.7 MB / 8.293 GB, free: 195.7 MB / 1.354 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches