Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") [: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.122/2.122, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001266/0.001266, allocations: 184.3 kB / 487 MB, free: 5.414 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.504/1.504, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.001031/0.001031, allocations: 100.8 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.374e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.571/4.86, allocations: 2.184 GB / 3.389 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/4.86, allocations: 99.94 kB / 3.389 GB, free: 116.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.173/9.034, allocations: 1.248 GB / 4.637 GB, free: 166.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004319/9.034, allocations: 80.95 kB / 4.637 GB, free: 166.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01079/9.045, allocations: 3.482 MB / 4.641 GB, free: 164.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/9.045, allocations: 12.34 kB / 4.641 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/9.049, allocations: 0.5196 MB / 4.641 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009349/9.058, allocations: 3.348 MB / 4.645 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/9.058, allocations: 62.81 kB / 4.645 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/9.059, allocations: 122.2 kB / 4.645 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003865/9.063, allocations: 1.752 MB / 4.647 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/9.066, allocations: 2.128 MB / 4.649 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/9.066, allocations: 3.75 kB / 4.649 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/9.067, allocations: 11.59 kB / 4.649 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/9.067, allocations: 68.69 kB / 4.649 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/9.083, allocations: 10.31 MB / 4.659 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/9.085, allocations: 1.028 MB / 4.66 GB, free: 151.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/9.086, allocations: 0.91 MB / 4.661 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008718/9.087, allocations: 1.18 MB / 4.662 GB, free: 149.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/9.087, allocations: 53.77 kB / 4.662 GB, free: 149.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.637e-06/9.087, allocations: 0 / 4.662 GB, free: 149.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.009967/9.097, allocations: 4.26 MB / 4.666 GB, free: 146.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/9.097, allocations: 288 kB / 4.666 GB, free: 146.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/9.102, allocations: 2.58 MB / 4.669 GB, free: 145.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003191/9.102, allocations: 37.31 kB / 4.669 GB, free: 145.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/9.103, allocations: 0.8441 MB / 4.67 GB, free: 144.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/9.103, allocations: 381.1 kB / 4.67 GB, free: 144.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/9.103, allocations: 3.875 kB / 4.67 GB, free: 144.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001127/9.103, allocations: 363.8 kB / 4.67 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/9.105, allocations: 0.9894 MB / 4.671 GB, free: 143.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/9.106, allocations: 1.391 MB / 4.673 GB, free: 142.5 MB / 1.167 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005957/9.112, allocations: 2.559 MB / 4.675 GB, free: 141 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/9.112, allocations: 1.75 kB / 4.675 GB, free: 141 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00601/9.118, allocations: 2.585 MB / 4.678 GB, free: 139.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006567/9.119, allocations: 2.498 MB / 4.68 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/9.119, allocations: 6.25 kB / 4.68 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.523e-05/9.119, allocations: 14.44 kB / 4.68 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/9.121, allocations: 258.6 kB / 4.68 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005114/9.121, allocations: 0.629 MB / 4.681 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/9.125, allocations: 152.4 kB / 4.681 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/9.125, allocations: 75.97 kB / 4.681 GB, free: 136.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/9.125, allocations: 4 kB / 4.681 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003758/9.129, allocations: 2.27 MB / 4.683 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/9.129, allocations: 4 kB / 4.683 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/9.129, allocations: 12 kB / 4.684 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/9.13, allocations: 252 kB / 4.684 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/9.13, allocations: 19.92 kB / 4.684 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/9.133, allocations: 150 kB / 4.684 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/9.134, allocations: 75.92 kB / 4.684 GB, free: 133.5 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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.0007506/9.134, allocations: 330.9 kB / 4.684 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/9.136, allocations: 276.5 kB / 4.685 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/9.14, allocations: 2.064 MB / 4.687 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/9.14, allocations: 12 kB / 4.687 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/9.14, allocations: 0 / 4.687 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002534/9.143, allocations: 1.87 MB / 4.688 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/9.154, allocations: 5.096 MB / 4.693 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/9.154, allocations: 4 kB / 4.693 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/9.156, allocations: 224.2 kB / 4.694 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.76e-05/9.156, allocations: 19.89 kB / 4.694 GB, free: 123.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/9.156, allocations: 25.47 kB / 4.694 GB, free: 123.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002939/9.156, allocations: 0.6112 MB / 4.694 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/9.156, allocations: 7.938 kB / 4.694 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005332/9.161, allocations: 4.003 MB / 4.698 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/9.164, allocations: 0.6535 MB / 4.699 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/9.165, allocations: 20 kB / 4.699 GB, free: 117.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/9.168, allocations: 135.4 kB / 4.699 GB, free: 117.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/9.168, allocations: 129.2 kB / 4.699 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/9.169, allocations: 59.97 kB / 4.699 GB, free: 117.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.004967/9.174, allocations: 1.956 MB / 4.701 GB, free: 115.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007937/9.181, allocations: 1.32 MB / 4.702 GB, free: 114.3 MB / 1.167 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.medium.Xi[1],vol.dynBal.U,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.005653/9.187, allocations: 2.969 MB / 4.705 GB, free: 111.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006645/9.194, allocations: 4.063 MB / 4.709 GB, free: 107.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/9.194, allocations: 5.25 kB / 4.709 GB, free: 107.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/9.196, allocations: 1.679 MB / 4.711 GB, free: 105.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008214/9.205, allocations: 1.297 MB / 4.712 GB, free: 104.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/9.22, allocations: 4.868 MB / 4.717 GB, free: 99.79 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004196/9.224, allocations: 2.273 MB / 4.719 GB, free: 97.53 MB / 1.167 GB Notification: Performance of SimCode: time 2.254e-06/9.224, allocations: 0 / 4.719 GB, free: 97.53 MB / 1.167 GB Notification: Performance of Templates: time 0.1164/9.34, allocations: 73.43 MB / 4.791 GB, free: 26.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches