Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001393/0.001392, allocations: 184.3 kB / 487 MB, free: 5.359 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.598/1.598, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.001026/0.001026, allocations: 95.08 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.148e-06/9.338e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3516, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.032/5.384, allocations: 2.188 GB / 3.393 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/5.384, allocations: 79.95 kB / 3.393 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 12.34/17.72, allocations: 3.407 GB / 6.8 GB, free: 94.46 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.0006259/17.72, allocations: 117.3 kB / 6.8 GB, free: 94.46 MB / 1.276 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.0252/17.75, allocations: 5.716 MB / 6.806 GB, free: 92.64 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/17.75, allocations: 7.031 kB / 6.806 GB, free: 92.64 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/17.76, allocations: 2.223 MB / 6.808 GB, free: 92.35 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/17.78, allocations: 4.295 MB / 6.812 GB, free: 91.74 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003043/17.78, allocations: 0.8451 MB / 6.813 GB, free: 91.73 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/17.78, allocations: 206.2 kB / 6.813 GB, free: 91.73 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008104/17.79, allocations: 3.552 MB / 6.816 GB, free: 91.71 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006855/17.8, allocations: 3.768 MB / 6.82 GB, free: 91.36 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/17.8, allocations: 3.281 kB / 6.82 GB, free: 91.36 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003715/17.8, allocations: 5.5 kB / 6.82 GB, free: 91.36 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/17.8, allocations: 159.6 kB / 6.82 GB, free: 91.36 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/17.83, allocations: 19.37 MB / 6.839 GB, free: 83.1 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/17.84, allocations: 2.561 MB / 6.842 GB, free: 83.04 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/17.84, allocations: 1.428 MB / 6.843 GB, free: 83.04 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008524/17.84, allocations: 0.6966 MB / 6.844 GB, free: 82.38 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/17.84, allocations: 1.734 MB / 6.845 GB, free: 82.29 MB / 1.276 GB Notification: Performance of pre-optimization done (n=251): time 6.312e-06/17.84, allocations: 0 / 6.845 GB, free: 82.29 MB / 1.276 GB Notification: Performance of matching and sorting (n=251): time 0.008524/17.85, allocations: 3.198 MB / 6.849 GB, free: 82.01 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/17.85, allocations: 102.7 kB / 6.849 GB, free: 81.91 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/17.86, allocations: 2.461 MB / 6.851 GB, free: 81.61 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.00057/17.86, allocations: 31.39 kB / 6.851 GB, free: 81.57 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/17.86, allocations: 1.212 MB / 6.852 GB, free: 80.94 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007488/17.86, allocations: 0.8044 MB / 6.853 GB, free: 80.4 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/17.86, allocations: 0 / 6.853 GB, free: 80.4 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001707/17.86, allocations: 426.8 kB / 6.854 GB, free: 80.09 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/17.86, allocations: 1.347 MB / 6.855 GB, free: 80.08 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/17.86, allocations: 2.146 MB / 6.857 GB, free: 79.25 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/17.87, allocations: 1.698 MB / 6.859 GB, free: 79.2 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/17.87, allocations: 3.219 kB / 6.859 GB, free: 79.2 MB / 1.276 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008539/17.88, allocations: 3.957 MB / 6.862 GB, free: 78.9 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.001199/17.88, allocations: 6.05 MB / 6.868 GB, free: 72.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/17.88, allocations: 13.75 kB / 6.868 GB, free: 72.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/17.88, allocations: 31.91 kB / 6.868 GB, free: 72.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/17.89, allocations: 1.259 MB / 6.87 GB, free: 72.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/17.89, allocations: 6.06 MB / 6.876 GB, free: 66.65 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009504/17.9, allocations: 0.7912 MB / 6.876 GB, free: 66.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/17.9, allocations: 173.5 kB / 6.876 GB, free: 66.5 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/17.9, allocations: 1.844 kB / 6.876 GB, free: 66.5 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007572/17.91, allocations: 3.507 MB / 6.88 GB, free: 66.42 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/17.91, allocations: 15.5 kB / 6.88 GB, free: 66.42 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/17.91, allocations: 30.34 kB / 6.88 GB, free: 66.42 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/17.91, allocations: 1.168 MB / 6.881 GB, free: 66.42 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-05/17.91, allocations: 32.16 kB / 6.881 GB, free: 66.42 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006995/17.92, allocations: 0.7428 MB / 6.882 GB, free: 66.31 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005942/17.92, allocations: 171.1 kB / 6.882 GB, free: 66.31 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$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,hexCroUnm.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * 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.00111/17.92, allocations: 179.1 kB / 6.882 GB, free: 66.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/17.92, allocations: 397 kB / 6.883 GB, free: 65.99 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008447/17.93, allocations: 3.778 MB / 6.886 GB, free: 65.77 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/17.93, allocations: 29.34 kB / 6.886 GB, free: 65.77 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/17.93, allocations: 0 / 6.886 GB, free: 65.77 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/17.93, allocations: 14.95 kB / 6.886 GB, free: 65.77 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/17.95, allocations: 7.778 MB / 6.894 GB, free: 65.09 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/17.95, allocations: 7.625 kB / 6.894 GB, free: 65.09 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00471/17.95, allocations: 0.9583 MB / 6.895 GB, free: 65.09 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.633e-05/17.95, allocations: 13.94 kB / 6.895 GB, free: 65.09 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/17.95, allocations: 63.39 kB / 6.895 GB, free: 65.09 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/17.95, allocations: 5.972 MB / 6.901 GB, free: 59.24 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/17.95, allocations: 5.969 kB / 6.901 GB, free: 59.24 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007661/17.96, allocations: 4.132 MB / 6.905 GB, free: 57.95 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/17.97, allocations: 0.9622 MB / 6.906 GB, free: 57.61 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009486/17.97, allocations: 7.688 kB / 6.906 GB, free: 57.61 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005422/17.97, allocations: 0.6287 MB / 6.906 GB, free: 57.6 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/17.97, allocations: 182.9 kB / 6.907 GB, free: 57.59 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003633/17.97, allocations: 132.5 kB / 6.907 GB, free: 57.59 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.00326/17.98, allocations: 1.783 MB / 6.908 GB, free: 57.41 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01099/17.99, allocations: 2.667 MB / 6.911 GB, free: 57.1 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * 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.0103/18, allocations: 6.969 MB / 6.918 GB, free: 53.69 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.0129/18.01, allocations: 5.624 MB / 6.923 GB, free: 53.54 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/18.01, allocations: 3.219 kB / 6.923 GB, free: 53.54 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/18.01, allocations: 1.787 MB / 6.925 GB, free: 53.52 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00873/18.02, allocations: 1.44 MB / 6.926 GB, free: 53.48 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/18.04, allocations: 6.247 MB / 6.933 GB, free: 51.98 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003875/18.04, allocations: 2.938 MB / 6.935 GB, free: 51.19 MB / 1.276 GB Notification: Performance of SimCode: time 1.132e-06/18.04, allocations: 2.344 kB / 6.935 GB, free: 51.19 MB / 1.276 GB Notification: Performance of Templates: time 0.2043/18.25, allocations: 123.9 MB / 7.056 GB, free: 43.65 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches