Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,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.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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.ConstantEffectivenessZeroFlowBothStreams") [: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.073/2.073, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001179/0.001179, allocations: 181.2 kB / 487 MB, free: 5.375 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.511/1.511, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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: 100.1 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.317e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3338, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.17/5.504, allocations: 1.895 GB / 3.1 GB, free: 430.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/5.505, allocations: 87.97 kB / 3.1 GB, free: 430.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.23/8.735, allocations: 1.01 GB / 4.11 GB, free: 219.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002277/8.735, allocations: 25.97 kB / 4.11 GB, free: 219.3 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.008204/8.744, allocations: 1.831 MB / 4.112 GB, free: 218.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/8.744, allocations: 11.31 kB / 4.112 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/8.748, allocations: 0.5988 MB / 4.113 GB, free: 218.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/8.752, allocations: 1.079 MB / 4.114 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007026/8.753, allocations: 184.1 kB / 4.114 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/8.753, allocations: 47.31 kB / 4.114 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002461/8.755, allocations: 1.011 MB / 4.115 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/8.758, allocations: 1.048 MB / 4.116 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/8.758, allocations: 3.156 kB / 4.116 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/8.758, allocations: 0.7031 kB / 4.116 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/8.759, allocations: 40.38 kB / 4.116 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009424/8.768, allocations: 4.104 MB / 4.12 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/8.769, allocations: 0.7341 MB / 4.121 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/8.77, allocations: 0.4979 MB / 4.121 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/8.772, allocations: 0.6204 MB / 4.122 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/8.772, allocations: 39.06 kB / 4.122 GB, free: 215.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.937e-06/8.772, allocations: 0.5625 kB / 4.122 GB, free: 215.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.003702/8.775, allocations: 1.195 MB / 4.123 GB, free: 215.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/8.776, allocations: 58.41 kB / 4.123 GB, free: 215.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/8.777, allocations: 0.5661 MB / 4.124 GB, free: 215.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/8.777, allocations: 27.73 kB / 4.124 GB, free: 215.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/8.777, allocations: 333.5 kB / 4.124 GB, free: 215.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/8.777, allocations: 243.2 kB / 4.124 GB, free: 215.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/8.778, allocations: 4.703 kB / 4.124 GB, free: 215.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/8.778, allocations: 337.4 kB / 4.124 GB, free: 215 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/8.778, allocations: 409.4 kB / 4.125 GB, free: 215 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009258/8.779, allocations: 0.5384 MB / 4.125 GB, free: 214.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/8.781, allocations: 0.613 MB / 4.126 GB, free: 214.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/8.781, allocations: 1.156 kB / 4.126 GB, free: 214.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003093/8.784, allocations: 1.218 MB / 4.127 GB, free: 214.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/8.784, allocations: 456.5 kB / 4.128 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/8.784, allocations: 2.484 kB / 4.128 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/8.784, allocations: 4.438 kB / 4.128 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/8.786, allocations: 292.9 kB / 4.128 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007663/8.787, allocations: 1.216 MB / 4.129 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/8.789, allocations: 180.6 kB / 4.129 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/8.789, allocations: 40.3 kB / 4.129 GB, free: 213.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/8.789, allocations: 7.156 kB / 4.129 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/8.792, allocations: 1.089 MB / 4.13 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/8.792, allocations: 6.281 kB / 4.13 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/8.792, allocations: 7.094 kB / 4.13 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/8.793, allocations: 269.8 kB / 4.131 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/8.793, allocations: 8.719 kB / 4.131 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/8.795, allocations: 182.6 kB / 4.131 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/8.795, allocations: 43.83 kB / 4.131 GB, free: 213.1 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.0003843/8.796, allocations: 119.3 kB / 4.131 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/8.796, allocations: 96.28 kB / 4.131 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/8.799, allocations: 1.269 MB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/8.799, allocations: 6.312 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/8.799, allocations: 5.984 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/8.799, allocations: 6 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006047/8.805, allocations: 2.638 MB / 4.135 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/8.805, allocations: 6.938 kB / 4.135 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/8.807, allocations: 267.5 kB / 4.135 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/8.807, allocations: 7.812 kB / 4.135 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.946e-05/8.807, allocations: 15.02 kB / 4.135 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004982/8.808, allocations: 1.209 MB / 4.136 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/8.808, allocations: 11.91 kB / 4.136 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002739/8.81, allocations: 1.534 MB / 4.138 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008525/8.811, allocations: 312.6 kB / 4.138 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/8.812, allocations: 5.531 kB / 4.138 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/8.813, allocations: 170.4 kB / 4.138 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/8.813, allocations: 58.97 kB / 4.138 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/8.814, allocations: 38 kB / 4.138 GB, free: 210.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008586/8.814, allocations: 446.5 kB / 4.139 GB, free: 210.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003392/8.818, allocations: 0.686 MB / 4.14 GB, free: 210.4 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.004529/8.822, allocations: 2.633 MB / 4.142 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003897/8.826, allocations: 1.611 MB / 4.144 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/8.826, allocations: 0.6562 kB / 4.144 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/8.828, allocations: 0.5435 MB / 4.144 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/8.83, allocations: 423 kB / 4.145 GB, free: 209.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/8.847, allocations: 2.417 MB / 4.147 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/8.849, allocations: 1.232 MB / 4.148 GB, free: 208.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/8.849, allocations: 0 / 4.148 GB, free: 208.2 MB / 1.151 GB Notification: Performance of Templates: time 0.07414/8.923, allocations: 38.38 MB / 4.186 GB, free: 189.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches