Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [: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.196/1.196, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.0009366/0.0009366, allocations: 189.2 kB / 316 MB, free: 3.508 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.098/1.098, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008049/0.0008048, allocations: 93.58 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.743e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.047/4.221, allocations: 2.208 GB / 3.092 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/4.221, allocations: 82.44 kB / 3.093 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.706/6.927, allocations: 0.969 GB / 4.062 GB, free: 137.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.101e-05/6.927, allocations: 29.86 kB / 4.062 GB, free: 137.5 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004473/6.932, allocations: 1.759 MB / 4.063 GB, free: 136.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/6.932, allocations: 7.094 kB / 4.063 GB, free: 136.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/6.935, allocations: 0.5933 MB / 4.064 GB, free: 136.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/6.937, allocations: 1.055 MB / 4.065 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005567/6.937, allocations: 183 kB / 4.065 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/6.937, allocations: 52.16 kB / 4.065 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/6.939, allocations: 1.051 MB / 4.066 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/6.94, allocations: 1.039 MB / 4.067 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/6.94, allocations: 4.844 kB / 4.067 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/6.94, allocations: 0 / 4.067 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/6.94, allocations: 45.77 kB / 4.067 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/6.946, allocations: 4.097 MB / 4.071 GB, free: 134.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/6.947, allocations: 0.726 MB / 4.072 GB, free: 134.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/6.947, allocations: 0.5105 MB / 4.072 GB, free: 134.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008553/6.948, allocations: 0.6204 MB / 4.073 GB, free: 134.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/6.948, allocations: 49.83 kB / 4.073 GB, free: 134.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 1.934e-06/6.948, allocations: 0 / 4.073 GB, free: 134.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.002172/6.951, allocations: 1.188 MB / 4.074 GB, free: 134 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/6.951, allocations: 62.59 kB / 4.074 GB, free: 134 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/6.951, allocations: 0.5607 MB / 4.075 GB, free: 133.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/6.951, allocations: 25.7 kB / 4.075 GB, free: 133.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/6.951, allocations: 336.6 kB / 4.075 GB, free: 133.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/6.952, allocations: 244.8 kB / 4.075 GB, free: 133.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/6.952, allocations: 0 / 4.075 GB, free: 133.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/6.952, allocations: 342.2 kB / 4.076 GB, free: 133.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/6.952, allocations: 408 kB / 4.076 GB, free: 133.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/6.953, allocations: 0.5341 MB / 4.077 GB, free: 133.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/6.954, allocations: 0.612 MB / 4.077 GB, free: 133.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/6.954, allocations: 3.188 kB / 4.077 GB, free: 133.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001838/6.956, allocations: 1.219 MB / 4.078 GB, free: 133 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/6.956, allocations: 450.9 kB / 4.079 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/6.956, allocations: 3.969 kB / 4.079 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/6.956, allocations: 6.422 kB / 4.079 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/6.957, allocations: 291.4 kB / 4.079 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004796/6.958, allocations: 1.208 MB / 4.08 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/6.959, allocations: 191.6 kB / 4.081 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/6.959, allocations: 45.88 kB / 4.081 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/6.959, allocations: 3.469 kB / 4.081 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001697/6.961, allocations: 1.093 MB / 4.082 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/6.961, allocations: 0 / 4.082 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/6.961, allocations: 6.281 kB / 4.082 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/6.962, allocations: 267.2 kB / 4.082 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/6.962, allocations: 12.61 kB / 4.082 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/6.963, allocations: 183.7 kB / 4.082 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/6.963, allocations: 41.53 kB / 4.082 GB, free: 131.3 MB / 0.9167 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.0001812/6.963, allocations: 116 kB / 4.082 GB, free: 131.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/6.964, allocations: 91.66 kB / 4.082 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/6.966, allocations: 1.28 MB / 4.084 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/6.966, allocations: 7.094 kB / 4.084 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/6.966, allocations: 0 / 4.084 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/6.966, allocations: 3.797 kB / 4.084 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/6.969, allocations: 2.641 MB / 4.086 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/6.969, allocations: 7.844 kB / 4.086 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/6.971, allocations: 271.5 kB / 4.086 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/6.971, allocations: 7.625 kB / 4.086 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/6.971, allocations: 19.36 kB / 4.087 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003515/6.971, allocations: 1.199 MB / 4.088 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/6.971, allocations: 7.562 kB / 4.088 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00179/6.973, allocations: 1.537 MB / 4.089 GB, free: 128.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/6.973, allocations: 308.9 kB / 4.089 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/6.973, allocations: 6.938 kB / 4.089 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/6.975, allocations: 167.6 kB / 4.09 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/6.975, allocations: 53.97 kB / 4.09 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/6.975, allocations: 42.27 kB / 4.09 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0004063/6.975, allocations: 446.6 kB / 4.09 GB, free: 128.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001579/6.977, allocations: 0.6956 MB / 4.091 GB, free: 128.5 MB / 0.9167 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.002609/6.979, allocations: 2.627 MB / 4.093 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002283/6.982, allocations: 1.605 MB / 4.095 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/6.982, allocations: 0 / 4.095 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/6.982, allocations: 0.5449 MB / 4.096 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/6.984, allocations: 406 kB / 4.096 GB, free: 127.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/6.998, allocations: 2.401 MB / 4.098 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/6.999, allocations: 1.24 MB / 4.099 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/6.999, allocations: 0 / 4.099 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.05155/7.051, allocations: 38.38 MB / 4.137 GB, free: 121.1 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches