Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [: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 1.799/1.799, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001021/0.001021, allocations: 187.8 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0008737/0.0008737, allocations: 86.95 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.819e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5326/0.7236, allocations: 150.6 MB / 1.352 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.7238, allocations: 75 kB / 1.352 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.5812/1.305, allocations: 248.6 MB / 1.595 GB, free: 15.3 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.305, allocations: 4 kB / 1.595 GB, free: 15.29 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001541/1.307, allocations: 491.6 kB / 1.596 GB, free: 14.79 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.307, allocations: 13.23 kB / 1.596 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/1.307, allocations: 38.77 kB / 1.596 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/1.307, allocations: 384.8 kB / 1.596 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/1.307, allocations: 0 / 1.596 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/1.307, allocations: 11.84 kB / 1.596 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.891e-05/1.307, allocations: 65.62 kB / 1.596 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/1.308, allocations: 95.69 kB / 1.596 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/1.308, allocations: 4 kB / 1.596 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.308, allocations: 4 kB / 1.596 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.308, allocations: 3.938 kB / 1.596 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/1.308, allocations: 314.2 kB / 1.596 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.308, allocations: 109.3 kB / 1.597 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/1.308, allocations: 65.02 kB / 1.597 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/1.308, allocations: 3.75 kB / 1.597 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/1.308, allocations: 41.66 kB / 1.597 GB, free: 13.63 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/1.308, allocations: 0 / 1.597 GB, free: 13.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002534/1.308, allocations: 146 kB / 1.597 GB, free: 13.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.309, allocations: 135.9 kB / 1.597 GB, free: 13.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/1.309, allocations: 421.1 kB / 1.597 GB, free: 13 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.309, allocations: 33.69 kB / 1.597 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/1.309, allocations: 110.3 kB / 1.597 GB, free: 12.86 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.309, allocations: 15.12 kB / 1.597 GB, free: 12.85 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/1.309, allocations: 4.125 kB / 1.597 GB, free: 12.84 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.309, allocations: 345 kB / 1.598 GB, free: 12.51 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/1.309, allocations: 37.89 kB / 1.598 GB, free: 12.48 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/1.309, allocations: 96.94 kB / 1.598 GB, free: 12.37 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/1.309, allocations: 46.58 kB / 1.598 GB, free: 12.33 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.309, allocations: 3.938 kB / 1.598 GB, free: 12.33 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001842/1.31, allocations: 145.8 kB / 1.598 GB, free: 12.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.31, allocations: 8 kB / 1.598 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/1.31, allocations: 0 / 1.598 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.31, allocations: 0 / 1.598 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.31, allocations: 11.98 kB / 1.598 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/1.31, allocations: 4.125 kB / 1.598 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/1.31, allocations: 7.906 kB / 1.598 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.31, allocations: 4 kB / 1.598 GB, free: 12.16 MB / 1.042 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 (4): * Single equations (assignments): 4 * 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 6.091e-05/1.31, allocations: 101 kB / 1.598 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/1.31, allocations: 38.86 kB / 1.598 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/1.31, allocations: 185.2 kB / 1.598 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.31, allocations: 4 kB / 1.598 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.31, allocations: 0 / 1.598 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.31, allocations: 0 / 1.598 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/1.311, allocations: 271 kB / 1.599 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.311, allocations: 8 kB / 1.599 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/1.311, allocations: 19.31 kB / 1.599 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.311, allocations: 3.984 kB / 1.599 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/1.311, allocations: 0 / 1.599 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.311, allocations: 4 kB / 1.599 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.311, allocations: 8.062 kB / 1.599 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002284/1.311, allocations: 220.7 kB / 1.599 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.311, allocations: 142.4 kB / 1.599 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/1.311, allocations: 0 / 1.599 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.311, allocations: 11.84 kB / 1.599 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/1.311, allocations: 4 kB / 1.599 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/1.311, allocations: 3.984 kB / 1.599 GB, free: 11.14 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0003327/1.312, allocations: 350.6 kB / 1.599 GB, free: 10.88 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002507/1.312, allocations: 44 kB / 1.6 GB, free: 10.84 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0001881/1.312, allocations: 124 kB / 1.6 GB, free: 10.71 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001605/1.312, allocations: 82.31 kB / 1.6 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.312, allocations: 256 / 1.6 GB, free: 10.64 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.99e-05/1.312, allocations: 55.34 kB / 1.6 GB, free: 10.6 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/1.313, allocations: 58.23 kB / 1.6 GB, free: 10.56 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/1.314, allocations: 437.5 kB / 1.6 GB, free: 10.13 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.314, allocations: 0.849 MB / 1.601 GB, free: 9.273 MB / 1.042 GB Notification: Performance of SimCode: time 2.51e-07/1.314, allocations: 0 / 1.601 GB, free: 9.273 MB / 1.042 GB Notification: Performance of Templates: time 0.006441/1.321, allocations: 2.783 MB / 1.604 GB, free: 6.582 MB / 1.042 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches