Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.031/2.031, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001369/0.001369, allocations: 177.3 kB / 487 MB, free: 5.371 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.524/1.524, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.001037/0.001037, allocations: 101.2 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.783e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.166/5.485, allocations: 1.895 GB / 3.1 GB, free: 409 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/5.485, allocations: 91.89 kB / 3.1 GB, free: 409 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.18/8.666, allocations: 1.01 GB / 4.11 GB, free: 218.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001347/8.666, allocations: 32.62 kB / 4.11 GB, free: 218.2 MB / 1.151 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.009662/8.676, allocations: 1.823 MB / 4.112 GB, free: 217.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/8.676, allocations: 13.47 kB / 4.112 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/8.682, allocations: 0.5964 MB / 4.113 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/8.687, allocations: 1.082 MB / 4.114 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/8.688, allocations: 186.2 kB / 4.114 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/8.688, allocations: 49.91 kB / 4.114 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003189/8.691, allocations: 1.012 MB / 4.115 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/8.694, allocations: 1.043 MB / 4.116 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/8.694, allocations: 0 / 4.116 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/8.695, allocations: 0.9688 kB / 4.116 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.204e-05/8.695, allocations: 48.89 kB / 4.116 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/8.706, allocations: 4.1 MB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/8.709, allocations: 0.7321 MB / 4.121 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/8.71, allocations: 0.5014 MB / 4.121 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/8.712, allocations: 0.6145 MB / 4.122 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/8.712, allocations: 42.78 kB / 4.122 GB, free: 213.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 5.119e-06/8.712, allocations: 1.031 kB / 4.122 GB, free: 213.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.005261/8.717, allocations: 1.2 MB / 4.123 GB, free: 212.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/8.717, allocations: 60.19 kB / 4.123 GB, free: 212.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/8.719, allocations: 0.5598 MB / 4.124 GB, free: 212.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/8.719, allocations: 31.7 kB / 4.124 GB, free: 212.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/8.719, allocations: 329.6 kB / 4.124 GB, free: 212.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/8.72, allocations: 244.7 kB / 4.124 GB, free: 212.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/8.72, allocations: 1.125 kB / 4.124 GB, free: 212.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001351/8.72, allocations: 337.7 kB / 4.124 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/8.721, allocations: 409.1 kB / 4.125 GB, free: 211.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/8.723, allocations: 0.5431 MB / 4.125 GB, free: 211.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/8.725, allocations: 0.6078 MB / 4.126 GB, free: 211.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/8.725, allocations: 3.531 kB / 4.126 GB, free: 211.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004098/8.729, allocations: 1.225 MB / 4.127 GB, free: 210.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/8.729, allocations: 450 kB / 4.128 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/8.729, allocations: 1 kB / 4.128 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/8.729, allocations: 4.031 kB / 4.128 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/8.732, allocations: 296.5 kB / 4.128 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/8.733, allocations: 1.211 MB / 4.129 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/8.736, allocations: 181.6 kB / 4.129 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/8.736, allocations: 41.5 kB / 4.129 GB, free: 209 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/8.736, allocations: 8.656 kB / 4.129 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003771/8.74, allocations: 1.099 MB / 4.13 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/8.74, allocations: 3.906 kB / 4.13 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/8.74, allocations: 3.906 kB / 4.13 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/8.742, allocations: 267.2 kB / 4.131 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/8.742, allocations: 4.625 kB / 4.131 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/8.744, allocations: 185.9 kB / 4.131 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/8.745, allocations: 42.14 kB / 4.131 GB, free: 208.7 MB / 1.151 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.0004225/8.745, allocations: 114.9 kB / 4.131 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/8.745, allocations: 96.53 kB / 4.131 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/8.75, allocations: 1.274 MB / 4.132 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/8.75, allocations: 10.53 kB / 4.132 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/8.75, allocations: 3.906 kB / 4.132 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/8.75, allocations: 4.641 kB / 4.132 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/8.758, allocations: 2.643 MB / 4.135 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/8.758, allocations: 3.781 kB / 4.135 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/8.76, allocations: 270.4 kB / 4.135 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/8.76, allocations: 12.42 kB / 4.135 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/8.76, allocations: 18.06 kB / 4.135 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00057/8.761, allocations: 1.201 MB / 4.136 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/8.761, allocations: 7.844 kB / 4.136 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00372/8.765, allocations: 1.54 MB / 4.138 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/8.766, allocations: 302.8 kB / 4.138 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/8.766, allocations: 11.77 kB / 4.138 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/8.768, allocations: 168.7 kB / 4.138 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/8.768, allocations: 58.83 kB / 4.138 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/8.769, allocations: 40.47 kB / 4.138 GB, free: 204.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009061/8.77, allocations: 444.1 kB / 4.139 GB, free: 204.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003254/8.773, allocations: 0.6864 MB / 4.14 GB, free: 204 MB / 1.151 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.005985/8.779, allocations: 2.628 MB / 4.142 GB, free: 202.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005164/8.784, allocations: 1.614 MB / 4.144 GB, free: 202.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/8.784, allocations: 1.625 kB / 4.144 GB, free: 202.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/8.786, allocations: 0.5418 MB / 4.144 GB, free: 201.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/8.789, allocations: 410.3 kB / 4.145 GB, free: 201.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/8.809, allocations: 2.42 MB / 4.147 GB, free: 200.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/8.811, allocations: 1.23 MB / 4.148 GB, free: 199.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.184e-06/8.811, allocations: 1.094 kB / 4.148 GB, free: 199.5 MB / 1.151 GB Notification: Performance of Templates: time 0.05964/8.87, allocations: 38.39 MB / 4.186 GB, free: 167.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches