Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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.NumberOfBeams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea10.heaToRoo.Q_flow|beaCooHea.heaToRoo.Q_flow|pumHotWat10.dp|pumHotWat.dp|pumChiWat.dp|pumChiWat10.dp|pumChiWat10.m_flow|pumChiWat.m_flow|pumHotWat10.m_flow|pumHotWat.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea10.heaToRoo.Q_flow|beaCooHea.heaToRoo.Q_flow|pumHotWat10.dp|pumHotWat.dp|pumChiWat.dp|pumChiWat10.dp|pumChiWat10.m_flow|pumChiWat.m_flow|pumHotWat10.m_flow|pumHotWat.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") [: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.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.001071/0.001071, allocations: 188.3 kB / 316 MB, free: 3.57 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.035/1.035, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.0007916/0.0007913, allocations: 101.9 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.485e-06/8.505e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1521, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.302/4.454, allocations: 2.492 GB / 3.377 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/4.454, allocations: 98.69 kB / 3.377 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.1/14.56, allocations: 3.605 GB / 6.982 GB, free: 71.32 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001033/14.56, allocations: 189.3 kB / 6.982 GB, free: 71.3 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: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01496/14.57, allocations: 7.659 MB / 6.989 GB, free: 67.58 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/14.57, allocations: 11.69 kB / 6.989 GB, free: 67.58 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008955/14.58, allocations: 1.974 MB / 6.991 GB, free: 67.1 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/14.6, allocations: 9.349 MB / 7.001 GB, free: 65.87 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001268/14.6, allocations: 477.3 kB / 7.001 GB, free: 65.86 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009115/14.6, allocations: 267.6 kB / 7.001 GB, free: 65.86 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006372/14.61, allocations: 3.889 MB / 7.005 GB, free: 65.85 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006454/14.62, allocations: 4.654 MB / 7.01 GB, free: 65.33 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.055e-05/14.62, allocations: 3.844 kB / 7.01 GB, free: 65.33 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/14.62, allocations: 11.5 kB / 7.01 GB, free: 65.33 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/14.62, allocations: 96.91 kB / 7.01 GB, free: 65.33 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03326/14.65, allocations: 25.64 MB / 7.035 GB, free: 54.86 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/14.65, allocations: 2.633 MB / 7.037 GB, free: 54.82 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/14.66, allocations: 1.767 MB / 7.039 GB, free: 54.81 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/14.67, allocations: 7.826 MB / 7.047 GB, free: 51.46 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/14.67, allocations: 53.19 kB / 7.047 GB, free: 51.42 MB / 1.073 GB Notification: Performance of pre-optimization done (n=190): time 3.597e-06/14.67, allocations: 2.531 kB / 7.047 GB, free: 51.42 MB / 1.073 GB Notification: Performance of matching and sorting (n=190): time 0.01138/14.68, allocations: 4.915 MB / 7.052 GB, free: 50.95 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/14.68, allocations: 414.9 kB / 7.052 GB, free: 50.51 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008586/14.69, allocations: 6.269 MB / 7.058 GB, free: 50.06 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.000485/14.69, allocations: 39.77 kB / 7.058 GB, free: 50.03 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/14.69, allocations: 1.954 MB / 7.06 GB, free: 49.14 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007173/14.69, allocations: 0.6077 MB / 7.061 GB, free: 48.73 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/14.69, allocations: 13.5 kB / 7.061 GB, free: 48.73 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001211/14.69, allocations: 419.3 kB / 7.061 GB, free: 48.43 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/14.69, allocations: 2.07 MB / 7.063 GB, free: 48.42 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/14.69, allocations: 3.259 MB / 7.066 GB, free: 47.06 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/14.7, allocations: 2.56 MB / 7.069 GB, free: 47.03 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/14.7, allocations: 6.281 kB / 7.069 GB, free: 47.03 MB / 1.073 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01206/14.71, allocations: 6.157 MB / 7.075 GB, free: 46.57 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001912/14.71, allocations: 13.34 MB / 7.088 GB, free: 32.58 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/14.71, allocations: 27.59 kB / 7.088 GB, free: 32.58 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008941/14.71, allocations: 468.5 kB / 7.088 GB, free: 32.55 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/14.72, allocations: 0.6154 MB / 7.089 GB, free: 32.55 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/14.72, allocations: 2.668 MB / 7.091 GB, free: 30.47 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/14.72, allocations: 0.6174 MB / 7.092 GB, free: 30.31 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005714/14.72, allocations: 193.4 kB / 7.092 GB, free: 30.31 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/14.72, allocations: 3.5 kB / 7.092 GB, free: 30.31 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009839/14.73, allocations: 5.329 MB / 7.097 GB, free: 30.23 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/14.73, allocations: 24.97 kB / 7.097 GB, free: 30.23 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/14.74, allocations: 481.8 kB / 7.098 GB, free: 30.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/14.74, allocations: 0.6032 MB / 7.098 GB, free: 30.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/14.74, allocations: 2.673 MB / 7.101 GB, free: 28.12 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/14.75, allocations: 0.5524 MB / 7.102 GB, free: 28.01 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004717/14.75, allocations: 180.9 kB / 7.102 GB, free: 28.01 MB / 1.073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea10.conHea.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea10.conCoo.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea.conHea.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea.conCoo.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (299): * Single equations (assignments): 267 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001044/14.75, allocations: 0.5773 MB / 7.102 GB, free: 27.5 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/14.75, allocations: 0.6608 MB / 7.103 GB, free: 27.14 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/14.76, allocations: 5.503 MB / 7.108 GB, free: 26.93 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/14.76, allocations: 27.11 kB / 7.108 GB, free: 26.93 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/14.76, allocations: 0 / 7.108 GB, free: 26.93 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/14.76, allocations: 10.03 kB / 7.108 GB, free: 26.93 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/14.78, allocations: 10.65 MB / 7.119 GB, free: 26.26 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/14.78, allocations: 4.125 kB / 7.119 GB, free: 26.26 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/14.78, allocations: 417.8 kB / 7.119 GB, free: 26.26 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007895/14.78, allocations: 450.5 kB / 7.12 GB, free: 26.23 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/14.78, allocations: 48.17 kB / 7.12 GB, free: 26.23 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/14.78, allocations: 2.633 MB / 7.122 GB, free: 24.14 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/14.78, allocations: 5.875 kB / 7.122 GB, free: 24.14 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01044/14.8, allocations: 5.964 MB / 7.128 GB, free: 22.42 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003886/14.8, allocations: 1.385 MB / 7.129 GB, free: 21.94 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/14.8, allocations: 26.02 kB / 7.129 GB, free: 21.94 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/14.8, allocations: 417.4 kB / 7.13 GB, free: 21.93 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/14.8, allocations: 254.8 kB / 7.13 GB, free: 21.93 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/14.8, allocations: 117.3 kB / 7.13 GB, free: 21.93 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.006822/14.81, allocations: 4.711 MB / 7.135 GB, free: 21.68 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0108/14.82, allocations: 3.385 MB / 7.138 GB, free: 21.2 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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: 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 (190): * Single equations (assignments): 162 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008109/14.83, allocations: 7.005 MB / 7.145 GB, free: 17.98 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.009928/14.84, allocations: 8.597 MB / 7.153 GB, free: 16.4 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/14.84, allocations: 1.219 kB / 7.153 GB, free: 16.4 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003626/14.84, allocations: 3.182 MB / 7.156 GB, free: 16.02 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/14.86, allocations: 2.886 MB / 7.159 GB, free: 15.94 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/14.88, allocations: 10.61 MB / 7.17 GB, free: 13.62 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004608/14.88, allocations: 4.473 MB / 7.174 GB, free: 12.78 MB / 1.073 GB Notification: Performance of SimCode: time 7.91e-07/14.88, allocations: 0 / 7.174 GB, free: 12.78 MB / 1.073 GB Notification: Performance of Templates: time 0.2484/15.13, allocations: 168.7 MB / 7.339 GB, free: 8.027 MB / 1.104 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches