Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.169/2.169, 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.001385/0.001385, allocations: 184.3 kB / 487 MB, free: 5.383 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.434/1.434, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.001015/0.001015, allocations: 94.75 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.267e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.29, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.291, allocations: 372.6 MB / 1.569 GB, free: 2.371 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.292, allocations: 90.72 kB / 1.569 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.03189/1.324, allocations: 13.91 MB / 1.583 GB, free: 7.32 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.324, allocations: 4 kB / 1.583 GB, free: 7.316 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007076/1.324, allocations: 465 kB / 1.583 GB, free: 6.828 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.324, allocations: 8.031 kB / 1.583 GB, free: 6.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/1.325, allocations: 11.91 kB / 1.583 GB, free: 6.809 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/1.325, allocations: 178.8 kB / 1.583 GB, free: 6.594 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.325, allocations: 4 kB / 1.583 GB, free: 6.59 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/1.325, allocations: 4 kB / 1.583 GB, free: 6.586 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002103/1.325, allocations: 90.16 kB / 1.583 GB, free: 6.527 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.325, allocations: 80.52 kB / 1.584 GB, free: 6.457 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.325, allocations: 4 kB / 1.584 GB, free: 6.453 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.325, allocations: 0 / 1.584 GB, free: 6.453 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.325, allocations: 7.984 kB / 1.584 GB, free: 6.445 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/1.326, allocations: 398.2 kB / 1.584 GB, free: 6.082 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/1.326, allocations: 89.94 kB / 1.584 GB, free: 6.012 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/1.326, allocations: 41.55 kB / 1.584 GB, free: 5.98 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.327, allocations: 0.9287 MB / 1.585 GB, free: 4.965 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.327, allocations: 38.5 kB / 1.585 GB, free: 4.918 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/1.327, allocations: 7.938 kB / 1.585 GB, free: 4.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.0004451/1.328, allocations: 141.2 kB / 1.585 GB, free: 4.789 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/1.328, allocations: 51.41 kB / 1.585 GB, free: 4.727 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.328, allocations: 144.2 kB / 1.585 GB, free: 4.594 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/1.328, allocations: 25.7 kB / 1.585 GB, free: 4.562 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/1.328, allocations: 101.4 kB / 1.585 GB, free: 4.461 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/1.328, allocations: 41.14 kB / 1.585 GB, free: 4.426 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/1.328, allocations: 0 / 1.585 GB, free: 4.426 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/1.328, allocations: 332.2 kB / 1.586 GB, free: 4.098 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/1.328, allocations: 47.62 kB / 1.586 GB, free: 4.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.328, allocations: 70.17 kB / 1.586 GB, free: 4.008 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/1.329, allocations: 143.2 kB / 1.586 GB, free: 3.898 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.329, allocations: 0 / 1.586 GB, free: 3.898 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007219/1.329, allocations: 256.5 kB / 1.586 GB, free: 3.684 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.329, allocations: 12.09 kB / 1.586 GB, free: 3.672 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.329, allocations: 3.906 kB / 1.586 GB, free: 3.668 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.329, allocations: 4 kB / 1.586 GB, free: 3.664 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/1.33, allocations: 59.03 kB / 1.586 GB, free: 3.609 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.33, allocations: 7.938 kB / 1.586 GB, free: 3.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/1.33, allocations: 35.81 kB / 1.586 GB, free: 3.566 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/1.33, allocations: 11.94 kB / 1.586 GB, free: 3.559 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/1.33, allocations: 108.8 kB / 1.587 GB, free: 3.445 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/1.33, allocations: 7.906 kB / 1.587 GB, free: 3.438 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/1.331, allocations: 162.7 kB / 1.587 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.331, allocations: 4 kB / 1.587 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.331, allocations: 0 / 1.587 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.331, allocations: 0 / 1.587 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/1.331, allocations: 193.6 kB / 1.587 GB, free: 3.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.331, allocations: 0 / 1.587 GB, free: 3.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/1.331, allocations: 39.97 kB / 1.587 GB, free: 3.051 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.331, allocations: 0 / 1.587 GB, free: 3.051 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.331, allocations: 4 kB / 1.587 GB, free: 3.047 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.331, allocations: 0 / 1.587 GB, free: 3.047 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.331, allocations: 0 / 1.587 GB, free: 3.047 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003795/1.331, allocations: 248.7 kB / 1.587 GB, free: 2.816 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/1.331, allocations: 88.92 kB / 1.587 GB, free: 2.711 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/1.331, allocations: 0 / 1.587 GB, free: 2.711 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.332, allocations: 19.97 kB / 1.587 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/1.332, allocations: 7.984 kB / 1.587 GB, free: 2.684 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/1.332, allocations: 8 kB / 1.587 GB, free: 2.676 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.671e-05/1.332, allocations: 106.6 kB / 1.587 GB, free: 2.582 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003319/1.332, allocations: 63.48 kB / 1.587 GB, free: 2.523 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/1.332, allocations: 176.1 kB / 1.588 GB, free: 2.344 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00022/1.333, allocations: 109.9 kB / 1.588 GB, free: 2.266 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.333, allocations: 7.125 kB / 1.588 GB, free: 2.262 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/1.333, allocations: 44.88 kB / 1.588 GB, free: 2.23 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/1.333, allocations: 30.31 kB / 1.588 GB, free: 2.207 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/1.333, allocations: 153.7 kB / 1.588 GB, free: 2.043 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/1.334, allocations: 0.7348 MB / 1.589 GB, free: 1.285 MB / 1.01 GB Notification: Performance of SimCode: time 2.61e-07/1.334, allocations: 4 kB / 1.589 GB, free: 1.281 MB / 1.01 GB Notification: Performance of Templates: time 0.005812/1.34, allocations: 2.732 MB / 1.591 GB, free: 14.58 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches