Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") [: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 10.0.0-master/package.mo): time 2.05/2.05, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001117/0.001117, allocations: 190.9 kB / 490.8 MB, free: 1.898 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.655/1.655, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 106.8 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.916e-06/8.946e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3506, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.625/4.975, allocations: 2.189 GB / 3.4 GB, free: 116.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/4.976, allocations: 91.44 kB / 3.4 GB, free: 116.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 11.81/16.78, allocations: 3.407 GB / 6.808 GB, free: 100.6 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.0005973/16.78, allocations: 115.7 kB / 6.808 GB, free: 100.6 MB / 1.292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02467/16.81, allocations: 5.722 MB / 6.813 GB, free: 98.96 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/16.81, allocations: 9.375 kB / 6.813 GB, free: 98.96 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/16.82, allocations: 2.228 MB / 6.816 GB, free: 98.68 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/16.83, allocations: 4.297 MB / 6.82 GB, free: 98.16 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002959/16.84, allocations: 0.847 MB / 6.821 GB, free: 98.16 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/16.84, allocations: 203.5 kB / 6.821 GB, free: 98.16 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00733/16.85, allocations: 3.531 MB / 6.824 GB, free: 98.14 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/16.85, allocations: 3.769 MB / 6.828 GB, free: 97.79 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/16.85, allocations: 14.72 kB / 6.828 GB, free: 97.79 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/16.85, allocations: 4.906 kB / 6.828 GB, free: 97.79 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/16.85, allocations: 158 kB / 6.828 GB, free: 97.78 MB / 1.292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03571/16.89, allocations: 19.35 MB / 6.847 GB, free: 89.59 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003896/16.89, allocations: 2.523 MB / 6.849 GB, free: 89.53 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/16.89, allocations: 1.412 MB / 6.851 GB, free: 89.52 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008644/16.9, allocations: 0.7009 MB / 6.851 GB, free: 88.86 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002688/16.9, allocations: 1.729 MB / 6.853 GB, free: 88.77 MB / 1.292 GB Notification: Performance of pre-optimization done (n=247): time 6.292e-06/16.9, allocations: 1.5 kB / 6.853 GB, free: 88.77 MB / 1.292 GB Notification: Performance of matching and sorting (n=247): time 0.007541/16.91, allocations: 3.172 MB / 6.856 GB, free: 88.49 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/16.91, allocations: 115.4 kB / 6.856 GB, free: 88.39 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/16.91, allocations: 2.462 MB / 6.859 GB, free: 88.09 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008024/16.91, allocations: 29.39 kB / 6.859 GB, free: 88.05 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/16.91, allocations: 1.226 MB / 6.86 GB, free: 87.42 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009465/16.91, allocations: 0.8009 MB / 6.861 GB, free: 86.88 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/16.91, allocations: 2.219 kB / 6.861 GB, free: 86.88 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002114/16.91, allocations: 428.7 kB / 6.861 GB, free: 86.57 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/16.92, allocations: 1.334 MB / 6.862 GB, free: 86.56 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/16.92, allocations: 2.129 MB / 6.865 GB, free: 85.74 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/16.92, allocations: 1.685 MB / 6.866 GB, free: 85.69 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/16.92, allocations: 3.156 kB / 6.866 GB, free: 85.69 MB / 1.292 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.008577/16.93, allocations: 3.943 MB / 6.87 GB, free: 85.39 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001135/16.93, allocations: 5.952 MB / 6.876 GB, free: 79.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/16.93, allocations: 17.78 kB / 6.876 GB, free: 79.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-05/16.93, allocations: 29.41 kB / 6.876 GB, free: 79.1 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006902/16.94, allocations: 1.27 MB / 6.877 GB, free: 79.09 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/16.94, allocations: 6.052 MB / 6.883 GB, free: 73.25 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00736/16.95, allocations: 0.785 MB / 6.884 GB, free: 73.11 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/16.95, allocations: 170 kB / 6.884 GB, free: 73.11 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/16.95, allocations: 5.562 kB / 6.884 GB, free: 73.11 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009564/16.96, allocations: 3.491 MB / 6.887 GB, free: 73.02 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.149e-05/16.96, allocations: 13.5 kB / 6.887 GB, free: 73.02 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.194e-05/16.96, allocations: 31.62 kB / 6.887 GB, free: 73.02 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005849/16.97, allocations: 1.162 MB / 6.889 GB, free: 73.02 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.905e-05/16.97, allocations: 39.84 kB / 6.889 GB, free: 73.02 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006871/16.97, allocations: 0.7441 MB / 6.889 GB, free: 72.91 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/16.98, allocations: 168.6 kB / 6.89 GB, free: 72.91 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00158/16.98, allocations: 176.6 kB / 6.89 GB, free: 72.8 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/16.98, allocations: 397.8 kB / 6.89 GB, free: 72.59 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/16.99, allocations: 3.757 MB / 6.894 GB, free: 72.41 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/16.99, allocations: 29.62 kB / 6.894 GB, free: 72.41 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/16.99, allocations: 0 / 6.894 GB, free: 72.41 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/16.99, allocations: 18.48 kB / 6.894 GB, free: 72.41 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/17.01, allocations: 7.752 MB / 6.901 GB, free: 71.73 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/17.01, allocations: 6.719 kB / 6.901 GB, free: 71.73 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004889/17.01, allocations: 0.9474 MB / 6.902 GB, free: 71.73 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-05/17.01, allocations: 13.5 kB / 6.902 GB, free: 71.73 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004003/17.01, allocations: 63.58 kB / 6.902 GB, free: 71.73 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/17.02, allocations: 5.973 MB / 6.908 GB, free: 65.89 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/17.02, allocations: 6.344 kB / 6.908 GB, free: 65.89 MB / 1.292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008489/17.02, allocations: 4.116 MB / 6.912 GB, free: 64.59 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003421/17.03, allocations: 0.9711 MB / 6.913 GB, free: 64.25 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/17.03, allocations: 6.156 kB / 6.913 GB, free: 64.25 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006518/17.04, allocations: 0.6628 MB / 6.914 GB, free: 64.24 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/17.04, allocations: 171.6 kB / 6.914 GB, free: 64.23 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005471/17.04, allocations: 139.3 kB / 6.914 GB, free: 64.23 MB / 1.292 GB Notification: Performance of sort global known variables: time 0.004551/17.04, allocations: 1.787 MB / 6.916 GB, free: 64.05 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01323/17.06, allocations: 2.664 MB / 6.918 GB, free: 63.75 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01171/17.07, allocations: 6.991 MB / 6.925 GB, free: 60.35 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01431/17.08, allocations: 5.578 MB / 6.931 GB, free: 60.2 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/17.08, allocations: 4.375 kB / 6.931 GB, free: 60.2 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/17.09, allocations: 1.733 MB / 6.932 GB, free: 60.19 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009333/17.09, allocations: 1.431 MB / 6.934 GB, free: 60.14 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/17.12, allocations: 6.239 MB / 6.94 GB, free: 58.64 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006085/17.12, allocations: 2.941 MB / 6.943 GB, free: 57.86 MB / 1.292 GB Notification: Performance of SimCode: time 1.493e-06/17.12, allocations: 0 / 6.943 GB, free: 57.86 MB / 1.292 GB Notification: Performance of Templates: time 0.1984/17.32, allocations: 123.4 MB / 7.063 GB, free: 51.12 MB / 1.292 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches