Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001065/0.001065, allocations: 180.6 kB / 487 MB, free: 5.406 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.487/1.487, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0009789/0.0009789, allocations: 100.5 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.099e-05/1.101e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3016, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.636/4.937, allocations: 2.202 GB / 3.407 GB, free: 75.47 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/4.938, allocations: 100.5 kB / 3.407 GB, free: 75.42 MB / 1.151 GB Notification: Performance of FrontEnd: time 12.5/17.44, allocations: 3.714 GB / 7.121 GB, free: 42.72 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.0014/17.44, allocations: 195 kB / 7.121 GB, free: 42.54 MB / 1.292 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.02492/17.47, allocations: 7.646 MB / 7.128 GB, free: 34.75 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/17.47, allocations: 9.031 kB / 7.128 GB, free: 34.74 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/17.48, allocations: 2.353 MB / 7.131 GB, free: 32.49 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03101/17.51, allocations: 9.485 MB / 7.14 GB, free: 23.19 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001662/17.52, allocations: 478.6 kB / 7.14 GB, free: 22.76 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/17.52, allocations: 267.9 kB / 7.141 GB, free: 22.5 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01061/17.53, allocations: 3.937 MB / 7.144 GB, free: 18.56 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/17.54, allocations: 4.688 MB / 7.149 GB, free: 13.73 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/17.54, allocations: 7.938 kB / 7.149 GB, free: 13.72 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/17.54, allocations: 8 kB / 7.149 GB, free: 13.71 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.908e-05/17.54, allocations: 100 kB / 7.149 GB, free: 13.61 MB / 1.292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0585/17.6, allocations: 25.86 MB / 7.174 GB, free: 2.895 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/17.61, allocations: 2.676 MB / 7.177 GB, free: 212 kB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/17.61, allocations: 1.794 MB / 7.179 GB, free: 14.41 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02068/17.63, allocations: 7.95 MB / 7.187 GB, free: 5.859 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/17.63, allocations: 56.56 kB / 7.187 GB, free: 5.797 MB / 1.323 GB Notification: Performance of pre-optimization done (n=190): time 6.702e-06/17.63, allocations: 0 / 7.187 GB, free: 5.797 MB / 1.323 GB Notification: Performance of matching and sorting (n=190): time 0.01843/17.65, allocations: 4.959 MB / 7.191 GB, free: 0.8086 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003503/17.65, allocations: 421.8 kB / 7.192 GB, free: 316 kB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7811/18.43, allocations: 6.266 MB / 7.198 GB, free: 190.6 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.00123/18.43, allocations: 40.58 kB / 7.198 GB, free: 190.6 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/18.44, allocations: 1.957 MB / 7.2 GB, free: 190.5 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001376/18.44, allocations: 0.6035 MB / 7.201 GB, free: 190.2 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/18.44, allocations: 7.625 kB / 7.201 GB, free: 190.2 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.0001563/18.44, allocations: 419.3 kB / 7.201 GB, free: 189.9 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/18.44, allocations: 2.097 MB / 7.203 GB, free: 189.9 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/18.44, allocations: 3.278 MB / 7.206 GB, free: 188.6 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005097/18.45, allocations: 2.571 MB / 7.209 GB, free: 188.6 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/18.45, allocations: 10.62 kB / 7.209 GB, free: 188.6 MB / 1.323 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01237/18.46, allocations: 6.194 MB / 7.215 GB, free: 188.1 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002435/18.46, allocations: 13.34 MB / 7.228 GB, free: 174.1 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/18.46, allocations: 27.48 kB / 7.228 GB, free: 174.1 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/18.46, allocations: 478.8 kB / 7.228 GB, free: 174.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/18.47, allocations: 0.6463 MB / 7.229 GB, free: 174.1 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/18.47, allocations: 2.671 MB / 7.232 GB, free: 172 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007217/18.48, allocations: 0.6532 MB / 7.232 GB, free: 171.9 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/18.48, allocations: 190.3 kB / 7.232 GB, free: 171.9 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/18.48, allocations: 9.094 kB / 7.232 GB, free: 171.9 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/18.49, allocations: 5.369 MB / 7.238 GB, free: 171.8 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/18.49, allocations: 31.16 kB / 7.238 GB, free: 171.8 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000838/18.49, allocations: 466.4 kB / 7.238 GB, free: 171.8 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/18.49, allocations: 0.6442 MB / 7.239 GB, free: 171.8 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/18.49, allocations: 2.675 MB / 7.241 GB, free: 169.7 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009272/18.5, allocations: 0.5885 MB / 7.242 GB, free: 169.7 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009703/18.5, allocations: 187.8 kB / 7.242 GB, free: 169.7 MB / 1.323 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.001457/18.51, allocations: 0.5632 MB / 7.243 GB, free: 169.2 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002197/18.51, allocations: 0.6622 MB / 7.243 GB, free: 168.8 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/18.52, allocations: 5.566 MB / 7.249 GB, free: 168.6 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/18.52, allocations: 23.67 kB / 7.249 GB, free: 168.6 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/18.52, allocations: 3.906 kB / 7.249 GB, free: 168.6 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/18.52, allocations: 7.359 kB / 7.249 GB, free: 168.6 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/18.55, allocations: 10.79 MB / 7.259 GB, free: 168 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/18.55, allocations: 3.969 kB / 7.259 GB, free: 168 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/18.55, allocations: 457.1 kB / 7.26 GB, free: 168 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008398/18.55, allocations: 446.8 kB / 7.26 GB, free: 167.9 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003388/18.55, allocations: 52.09 kB / 7.26 GB, free: 167.9 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/18.55, allocations: 2.63 MB / 7.263 GB, free: 165.9 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/18.55, allocations: 6.75 kB / 7.263 GB, free: 165.9 MB / 1.323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01205/18.56, allocations: 5.997 MB / 7.269 GB, free: 164.1 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005318/18.57, allocations: 1.407 MB / 7.27 GB, free: 163.7 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002555/18.57, allocations: 31.3 kB / 7.27 GB, free: 163.7 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006183/18.58, allocations: 453 kB / 7.27 GB, free: 163.7 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/18.58, allocations: 257.8 kB / 7.271 GB, free: 163.7 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003726/18.58, allocations: 112.8 kB / 7.271 GB, free: 163.7 MB / 1.323 GB Notification: Performance of sort global known variables: time 0.01107/18.59, allocations: 4.718 MB / 7.275 GB, free: 163.4 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.01873/18.61, allocations: 3.474 MB / 7.279 GB, free: 163.2 MB / 1.323 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.01164/18.62, allocations: 7.047 MB / 7.286 GB, free: 160.2 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.01667/18.64, allocations: 8.663 MB / 7.294 GB, free: 158.6 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/18.64, allocations: 3.469 kB / 7.294 GB, free: 158.6 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.005183/18.64, allocations: 3.209 MB / 7.297 GB, free: 158.2 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0173/18.66, allocations: 2.844 MB / 7.3 GB, free: 158.2 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/18.69, allocations: 10.7 MB / 7.31 GB, free: 155.9 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009114/18.7, allocations: 4.48 MB / 7.315 GB, free: 155 MB / 1.323 GB Notification: Performance of SimCode: time 1.633e-06/18.7, allocations: 0 / 7.315 GB, free: 155 MB / 1.323 GB Notification: Performance of Templates: time 0.3052/19.01, allocations: 170.4 MB / 7.481 GB, free: 144.6 MB / 1.323 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches