Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.0009656/0.0009656, allocations: 185.2 kB / 316 MB, free: 3.5 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.164/1.164, allocations: 205.2 MB / 0.5667 GB, free: 15.55 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.0009525/0.0009525, allocations: 90.27 kB / 0.671 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.553e-06/6.573e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.705/3.856, allocations: 2.464 GB / 3.349 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/3.856, allocations: 83.39 kB / 3.349 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.106/12.96, allocations: 3.272 GB / 6.621 GB, free: 64.98 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003188/12.96, allocations: 118.8 kB / 6.621 GB, free: 64.96 MB / 1.026 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.01456/12.98, allocations: 5.502 MB / 6.626 GB, free: 62.93 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/12.98, allocations: 10.03 kB / 6.626 GB, free: 62.93 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/12.99, allocations: 2.23 MB / 6.629 GB, free: 62.64 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009343/13, allocations: 4.211 MB / 6.633 GB, free: 61.9 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002784/13, allocations: 0.8484 MB / 6.634 GB, free: 61.89 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009642/13, allocations: 212.2 kB / 6.634 GB, free: 61.89 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006216/13.01, allocations: 3.662 MB / 6.637 GB, free: 61.88 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005613/13.01, allocations: 3.718 MB / 6.641 GB, free: 61.52 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/13.01, allocations: 1.219 kB / 6.641 GB, free: 61.52 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/13.01, allocations: 3.406 kB / 6.641 GB, free: 61.52 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/13.01, allocations: 159.2 kB / 6.641 GB, free: 61.52 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/13.04, allocations: 19.33 MB / 6.66 GB, free: 53.26 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/13.05, allocations: 2.562 MB / 6.662 GB, free: 53.2 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/13.05, allocations: 1.429 MB / 6.664 GB, free: 53.19 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007238/13.05, allocations: 0.7014 MB / 6.665 GB, free: 52.52 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/13.05, allocations: 1.742 MB / 6.666 GB, free: 52.44 MB / 1.026 GB Notification: Performance of pre-optimization done (n=251): time 3.596e-06/13.05, allocations: 0 / 6.666 GB, free: 52.44 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.006261/13.06, allocations: 3.193 MB / 6.669 GB, free: 52.16 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/13.06, allocations: 102.3 kB / 6.669 GB, free: 52.06 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/13.06, allocations: 2.459 MB / 6.672 GB, free: 51.76 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003806/13.06, allocations: 31.14 kB / 6.672 GB, free: 51.73 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008285/13.06, allocations: 1.209 MB / 6.673 GB, free: 51.1 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/13.06, allocations: 0.8074 MB / 6.674 GB, free: 50.55 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/13.06, allocations: 0 / 6.674 GB, free: 50.55 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001197/13.06, allocations: 430.8 kB / 6.674 GB, free: 50.24 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/13.06, allocations: 1.34 MB / 6.676 GB, free: 50.23 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/13.07, allocations: 2.136 MB / 6.678 GB, free: 49.41 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/13.07, allocations: 1.69 MB / 6.679 GB, free: 49.36 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/13.07, allocations: 3.344 kB / 6.679 GB, free: 49.36 MB / 1.026 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.007081/13.08, allocations: 3.965 MB / 6.683 GB, free: 49.06 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008001/13.08, allocations: 6.054 MB / 6.689 GB, free: 42.66 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/13.08, allocations: 15.25 kB / 6.689 GB, free: 42.66 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-05/13.08, allocations: 31.06 kB / 6.689 GB, free: 42.66 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006479/13.08, allocations: 1.269 MB / 6.69 GB, free: 42.66 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/13.09, allocations: 6.06 MB / 6.696 GB, free: 36.82 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/13.09, allocations: 0.7664 MB / 6.697 GB, free: 36.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/13.09, allocations: 168.9 kB / 6.697 GB, free: 36.67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/13.09, allocations: 8.266 kB / 6.697 GB, free: 36.67 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006215/13.1, allocations: 3.506 MB / 6.701 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/13.1, allocations: 14.91 kB / 6.701 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/13.1, allocations: 33.09 kB / 6.701 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005253/13.1, allocations: 1.166 MB / 6.702 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.294e-05/13.1, allocations: 45.17 kB / 6.702 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005835/13.11, allocations: 0.7196 MB / 6.703 GB, free: 36.48 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/13.11, allocations: 175.4 kB / 6.703 GB, free: 36.48 MB / 1.026 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.0008015/13.11, allocations: 173.5 kB / 6.703 GB, free: 36.37 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/13.11, allocations: 395.4 kB / 6.703 GB, free: 36.16 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/13.12, allocations: 3.778 MB / 6.707 GB, free: 35.93 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/13.12, allocations: 26.81 kB / 6.707 GB, free: 35.93 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/13.12, allocations: 0 / 6.707 GB, free: 35.93 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/13.12, allocations: 15.7 kB / 6.707 GB, free: 35.93 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/13.13, allocations: 7.774 MB / 6.715 GB, free: 35.26 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/13.13, allocations: 7.625 kB / 6.715 GB, free: 35.26 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004488/13.14, allocations: 0.9538 MB / 6.716 GB, free: 35.26 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/13.14, allocations: 13.72 kB / 6.716 GB, free: 35.26 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/13.14, allocations: 65.28 kB / 6.716 GB, free: 35.26 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/13.14, allocations: 5.972 MB / 6.721 GB, free: 29.41 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/13.14, allocations: 6.688 kB / 6.721 GB, free: 29.41 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006248/13.14, allocations: 4.14 MB / 6.726 GB, free: 28.11 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/13.15, allocations: 0.9595 MB / 6.726 GB, free: 27.78 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006382/13.15, allocations: 6.562 kB / 6.726 GB, free: 27.78 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004676/13.15, allocations: 0.6272 MB / 6.727 GB, free: 27.77 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/13.15, allocations: 179.2 kB / 6.727 GB, free: 27.76 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/13.15, allocations: 134 kB / 6.727 GB, free: 27.76 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.002384/13.15, allocations: 1.783 MB / 6.729 GB, free: 27.58 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.006565/13.16, allocations: 2.656 MB / 6.732 GB, free: 27.27 MB / 1.026 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.007554/13.17, allocations: 6.997 MB / 6.739 GB, free: 23.82 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00984/13.18, allocations: 5.609 MB / 6.744 GB, free: 23.67 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/13.18, allocations: 0 / 6.744 GB, free: 23.67 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/13.18, allocations: 1.789 MB / 6.746 GB, free: 23.66 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007069/13.19, allocations: 1.451 MB / 6.747 GB, free: 23.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/13.2, allocations: 6.126 MB / 6.753 GB, free: 22.1 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/13.2, allocations: 2.953 MB / 6.756 GB, free: 21.3 MB / 1.026 GB Notification: Performance of SimCode: time 5.92e-07/13.2, allocations: 0 / 6.756 GB, free: 21.3 MB / 1.026 GB Notification: Performance of Templates: time 0.1785/13.38, allocations: 123.7 MB / 6.877 GB, free: 5.258 MB / 1.057 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches