Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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: 7.004 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.0009872/0.0009874, allocations: 181.2 kB / 316 MB, free: 3.582 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.096/1.096, 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.0008336/0.0008336, allocations: 94.36 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.535e-06/7.555e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.804/3.977, allocations: 2.208 GB / 3.092 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/3.977, allocations: 87.95 kB / 3.092 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.577/6.554, allocations: 0.9686 GB / 4.061 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.169e-05/6.554, allocations: 32.61 kB / 4.061 GB, free: 148.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004498/6.559, allocations: 1.75 MB / 4.063 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/6.559, allocations: 10.38 kB / 4.063 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/6.562, allocations: 0.5958 MB / 4.063 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/6.564, allocations: 1.056 MB / 4.064 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005527/6.564, allocations: 184.9 kB / 4.065 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/6.565, allocations: 52.81 kB / 4.065 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001548/6.566, allocations: 1.05 MB / 4.066 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/6.567, allocations: 1.035 MB / 4.067 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/6.567, allocations: 3.5 kB / 4.067 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/6.568, allocations: 0 / 4.067 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/6.568, allocations: 47.06 kB / 4.067 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/6.573, allocations: 4.099 MB / 4.071 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/6.574, allocations: 0.7191 MB / 4.071 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/6.574, allocations: 0.5058 MB / 4.072 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/6.575, allocations: 0.6227 MB / 4.072 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/6.575, allocations: 46.56 kB / 4.073 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/6.575, allocations: 0 / 4.073 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002165/6.578, allocations: 1.189 MB / 4.074 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/6.578, allocations: 59.69 kB / 4.074 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/6.578, allocations: 0.5627 MB / 4.074 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/6.578, allocations: 32.89 kB / 4.074 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/6.578, allocations: 329.3 kB / 4.075 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/6.579, allocations: 251.7 kB / 4.075 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/6.579, allocations: 7.656 kB / 4.075 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/6.579, allocations: 326.6 kB / 4.075 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/6.579, allocations: 409.3 kB / 4.076 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/6.58, allocations: 0.5397 MB / 4.076 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/6.581, allocations: 0.6175 MB / 4.077 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.581, allocations: 0 / 4.077 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001842/6.583, allocations: 1.223 MB / 4.078 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/6.583, allocations: 450.9 kB / 4.078 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/6.583, allocations: 0 / 4.078 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/6.583, allocations: 3.906 kB / 4.078 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/6.584, allocations: 294.7 kB / 4.079 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004981/6.585, allocations: 1.208 MB / 4.08 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/6.586, allocations: 183.6 kB / 4.08 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/6.586, allocations: 42.06 kB / 4.08 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/6.586, allocations: 3.969 kB / 4.08 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001733/6.588, allocations: 1.096 MB / 4.081 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/6.588, allocations: 7.453 kB / 4.081 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/6.588, allocations: 3.938 kB / 4.081 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/6.589, allocations: 269.8 kB / 4.081 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/6.589, allocations: 5.312 kB / 4.081 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/6.59, allocations: 184.6 kB / 4.082 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/6.591, allocations: 38.06 kB / 4.082 GB, free: 142 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002116/6.591, allocations: 119.1 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/6.591, allocations: 95 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/6.593, allocations: 1.276 MB / 4.083 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/6.593, allocations: 8.094 kB / 4.083 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/6.593, allocations: 0 / 4.083 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/6.593, allocations: 3.891 kB / 4.083 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/6.597, allocations: 2.644 MB / 4.086 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/6.597, allocations: 3.875 kB / 4.086 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/6.598, allocations: 279.5 kB / 4.086 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/6.598, allocations: 6.844 kB / 4.086 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/6.598, allocations: 19.69 kB / 4.086 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003388/6.599, allocations: 1.199 MB / 4.087 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/6.599, allocations: 7.156 kB / 4.087 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001804/6.6, allocations: 1.539 MB / 4.089 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/6.601, allocations: 306.8 kB / 4.089 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/6.601, allocations: 10.48 kB / 4.089 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/6.602, allocations: 173.6 kB / 4.089 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/6.602, allocations: 58.94 kB / 4.089 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/6.603, allocations: 38.2 kB / 4.089 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0004508/6.603, allocations: 443.8 kB / 4.09 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001622/6.605, allocations: 0.687 MB / 4.09 GB, free: 139.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002479/6.607, allocations: 2.624 MB / 4.093 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002432/6.61, allocations: 1.613 MB / 4.094 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/6.61, allocations: 1.875 kB / 4.094 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007688/6.61, allocations: 0.5401 MB / 4.095 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/6.612, allocations: 410.7 kB / 4.095 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/6.626, allocations: 2.4 MB / 4.098 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/6.627, allocations: 1.235 MB / 4.099 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of SimCode: time 8.31e-07/6.627, allocations: 0 / 4.099 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.05554/6.683, allocations: 38.37 MB / 4.136 GB, free: 132.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches