Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.0009134/0.0009135, allocations: 181.2 kB / 316 MB, free: 3.539 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.056/1.056, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008626/0.0008627, allocations: 101 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.833e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.159, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.218/4.377, allocations: 2.461 GB / 3.346 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/4.377, allocations: 101.7 kB / 3.346 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.976/7.353, allocations: 1.202 GB / 4.548 GB, free: 63.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002612/7.353, allocations: 84.48 kB / 4.548 GB, free: 63.59 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.005305/7.359, allocations: 3.485 MB / 4.552 GB, free: 60.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/7.359, allocations: 12.39 kB / 4.552 GB, free: 60.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/7.36, allocations: 0.5161 MB / 4.552 GB, free: 60.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005506/7.366, allocations: 3.341 MB / 4.555 GB, free: 58.42 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/7.366, allocations: 67.44 kB / 4.555 GB, free: 58.41 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/7.366, allocations: 129.6 kB / 4.556 GB, free: 58.41 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003094/7.369, allocations: 1.748 MB / 4.557 GB, free: 57.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/7.373, allocations: 2.12 MB / 4.559 GB, free: 56.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/7.373, allocations: 7.844 kB / 4.559 GB, free: 56.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/7.373, allocations: 8 kB / 4.559 GB, free: 56.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/7.373, allocations: 70.58 kB / 4.559 GB, free: 56.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/7.386, allocations: 10.23 MB / 4.569 GB, free: 45.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/7.387, allocations: 1.32 MB / 4.571 GB, free: 44.58 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009178/7.388, allocations: 0.9171 MB / 4.572 GB, free: 43.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/7.389, allocations: 1.178 MB / 4.573 GB, free: 42.23 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/7.389, allocations: 47.44 kB / 4.573 GB, free: 42.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=113): time 3.556e-06/7.389, allocations: 3.625 kB / 4.573 GB, free: 42.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115): time 0.006917/7.396, allocations: 4.248 MB / 4.577 GB, free: 37.87 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/7.396, allocations: 292 kB / 4.577 GB, free: 37.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/7.399, allocations: 2.585 MB / 4.58 GB, free: 34.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/7.399, allocations: 33.7 kB / 4.58 GB, free: 34.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/7.4, allocations: 0.8472 MB / 4.581 GB, free: 34.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/7.4, allocations: 385.4 kB / 4.581 GB, free: 33.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/7.4, allocations: 4 kB / 4.581 GB, free: 33.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/7.4, allocations: 361.8 kB / 4.581 GB, free: 33.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/7.401, allocations: 0.9873 MB / 4.582 GB, free: 32.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/7.402, allocations: 1.399 MB / 4.584 GB, free: 30.77 MB / 0.9167 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.004226/7.406, allocations: 2.541 MB / 4.586 GB, free: 28.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/7.406, allocations: 3.25 kB / 4.586 GB, free: 28.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003422/7.41, allocations: 2.573 MB / 4.589 GB, free: 25.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003969/7.41, allocations: 2.503 MB / 4.591 GB, free: 22.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/7.41, allocations: 8 kB / 4.591 GB, free: 22.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/7.41, allocations: 12 kB / 4.591 GB, free: 22.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/7.411, allocations: 270.7 kB / 4.591 GB, free: 22.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002948/7.412, allocations: 0.6322 MB / 4.592 GB, free: 22.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/7.414, allocations: 146.4 kB / 4.592 GB, free: 21.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/7.414, allocations: 75.98 kB / 4.592 GB, free: 21.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/7.414, allocations: 4 kB / 4.592 GB, free: 21.82 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002635/7.417, allocations: 2.261 MB / 4.594 GB, free: 19.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/7.417, allocations: 10.53 kB / 4.594 GB, free: 19.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/7.417, allocations: 12 kB / 4.594 GB, free: 19.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/7.418, allocations: 262.6 kB / 4.595 GB, free: 19.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/7.418, allocations: 15.94 kB / 4.595 GB, free: 19.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/7.419, allocations: 155.9 kB / 4.595 GB, free: 19.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/7.419, allocations: 67.98 kB / 4.595 GB, free: 19.07 MB / 0.9167 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.000317/7.42, allocations: 329.9 kB / 4.595 GB, free: 18.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/7.42, allocations: 280.5 kB / 4.596 GB, free: 18.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/7.423, allocations: 2.055 MB / 4.598 GB, free: 16.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/7.423, allocations: 12 kB / 4.598 GB, free: 16.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/7.423, allocations: 0 / 4.598 GB, free: 16.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/7.425, allocations: 1.868 MB / 4.599 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/7.431, allocations: 5.092 MB / 4.604 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/7.431, allocations: 7.906 kB / 4.604 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/7.432, allocations: 230.7 kB / 4.605 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/7.432, allocations: 8 kB / 4.605 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/7.432, allocations: 24 kB / 4.605 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001929/7.432, allocations: 0.6129 MB / 4.605 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/7.432, allocations: 15.84 kB / 4.605 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003474/7.436, allocations: 4.012 MB / 4.609 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/7.437, allocations: 0.6598 MB / 4.61 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/7.437, allocations: 19.98 kB / 4.61 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/7.439, allocations: 135 kB / 4.61 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/7.439, allocations: 135.4 kB / 4.61 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/7.439, allocations: 51.97 kB / 4.61 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002156/7.441, allocations: 1.963 MB / 4.612 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003172/7.444, allocations: 1.327 MB / 4.613 GB, free: 15.81 MB / 0.9323 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.U,vol.dynBal.mXi[1],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.003615/7.448, allocations: 2.949 MB / 4.616 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004842/7.453, allocations: 4.06 MB / 4.62 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/7.453, allocations: 0 / 4.62 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/7.455, allocations: 1.693 MB / 4.622 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/7.46, allocations: 1.322 MB / 4.623 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/7.468, allocations: 4.856 MB / 4.628 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/7.471, allocations: 2.275 MB / 4.63 GB, free: 14.81 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/7.471, allocations: 0 / 4.63 GB, free: 14.81 MB / 0.948 GB Notification: Performance of Templates: time 0.4809/7.952, allocations: 73.84 MB / 4.702 GB, free: 106.4 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches