Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") [: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.809/1.809, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.000984/0.0009841, allocations: 176.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.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0008777/0.0008777, allocations: 92.67 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.16e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2025, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5526/0.7551, allocations: 150.5 MB / 1.352 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.7554, allocations: 80.78 kB / 1.352 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.5675/1.323, allocations: 244.9 MB / 1.591 GB, free: 2.691 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.173e-05/1.323, allocations: 0 / 1.591 GB, free: 2.691 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001457/1.324, allocations: 499.7 kB / 1.592 GB, free: 2.176 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/1.324, allocations: 12.03 kB / 1.592 GB, free: 2.164 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/1.325, allocations: 39.28 kB / 1.592 GB, free: 2.129 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/1.325, allocations: 373.8 kB / 1.592 GB, free: 1.766 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/1.325, allocations: 0 / 1.592 GB, free: 1.766 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/1.325, allocations: 4 kB / 1.592 GB, free: 1.762 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.375e-05/1.325, allocations: 68.56 kB / 1.592 GB, free: 1.707 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/1.325, allocations: 111.8 kB / 1.592 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/1.325, allocations: 0 / 1.592 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/1.325, allocations: 0 / 1.592 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/1.325, allocations: 0 / 1.592 GB, free: 1.59 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/1.326, allocations: 318.7 kB / 1.593 GB, free: 1.281 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/1.326, allocations: 107 kB / 1.593 GB, free: 1.152 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/1.326, allocations: 62.39 kB / 1.593 GB, free: 1.086 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/1.326, allocations: 0 / 1.593 GB, free: 1.086 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/1.326, allocations: 46.06 kB / 1.593 GB, free: 1.035 MB / 1.026 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/1.326, allocations: 0 / 1.593 GB, free: 1.035 MB / 1.026 GB Notification: Performance of matching and sorting (n=4): time 0.0002377/1.326, allocations: 152.5 kB / 1.593 GB, free: 0.8945 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.326, allocations: 136.5 kB / 1.593 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/1.327, allocations: 423.3 kB / 1.594 GB, free: 400 kB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/1.327, allocations: 25.7 kB / 1.594 GB, free: 368 kB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/1.327, allocations: 117.9 kB / 1.594 GB, free: 260 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/1.327, allocations: 11.81 kB / 1.594 GB, free: 248 kB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/1.327, allocations: 0 / 1.594 GB, free: 248 kB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.327, allocations: 344.5 kB / 1.594 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/1.327, allocations: 35.03 kB / 1.594 GB, free: 15.88 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/1.327, allocations: 90.05 kB / 1.594 GB, free: 15.78 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/1.327, allocations: 54.52 kB / 1.594 GB, free: 15.74 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.327, allocations: 0 / 1.594 GB, free: 15.74 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001812/1.327, allocations: 146.9 kB / 1.594 GB, free: 15.6 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.327, allocations: 4 kB / 1.594 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.327, allocations: 0 / 1.594 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.327, allocations: 8.125 kB / 1.594 GB, free: 15.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/1.327, allocations: 7.984 kB / 1.594 GB, free: 15.58 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/1.327, allocations: 4 kB / 1.594 GB, free: 15.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.327, allocations: 4 kB / 1.594 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/1.327, allocations: 3.984 kB / 1.594 GB, free: 15.57 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.545e-05/1.328, allocations: 112.8 kB / 1.595 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/1.328, allocations: 35 kB / 1.595 GB, free: 15.42 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/1.328, allocations: 184.7 kB / 1.595 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.328, allocations: 0 / 1.595 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.328, allocations: 0 / 1.595 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.328, allocations: 4 kB / 1.595 GB, free: 15.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/1.328, allocations: 277.6 kB / 1.595 GB, free: 14.99 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.328, allocations: 0 / 1.595 GB, free: 14.99 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/1.328, allocations: 19.92 kB / 1.595 GB, free: 14.97 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.328, allocations: 0 / 1.595 GB, free: 14.97 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/1.328, allocations: 8.125 kB / 1.595 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.328, allocations: 3.938 kB / 1.595 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.328, allocations: 0 / 1.595 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002049/1.328, allocations: 236.1 kB / 1.595 GB, free: 14.71 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/1.329, allocations: 127.1 kB / 1.595 GB, free: 14.57 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/1.329, allocations: 4 kB / 1.595 GB, free: 14.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.329, allocations: 0 / 1.595 GB, free: 14.57 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/1.329, allocations: 22.83 kB / 1.595 GB, free: 14.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/1.329, allocations: 4 kB / 1.595 GB, free: 14.54 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.000294/1.329, allocations: 345.8 kB / 1.596 GB, free: 14.28 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002409/1.329, allocations: 44 kB / 1.596 GB, free: 14.24 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.0001383/1.33, allocations: 132.3 kB / 1.596 GB, free: 14.11 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000146/1.33, allocations: 92.88 kB / 1.596 GB, free: 14.04 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.33, allocations: 4 kB / 1.596 GB, free: 14.03 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/1.33, allocations: 42.22 kB / 1.596 GB, free: 14 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/1.33, allocations: 60.88 kB / 1.596 GB, free: 13.96 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/1.331, allocations: 431.1 kB / 1.597 GB, free: 13.53 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.331, allocations: 0.8465 MB / 1.597 GB, free: 12.68 MB / 1.042 GB Notification: Performance of SimCode: time 2.3e-07/1.331, allocations: 0 / 1.597 GB, free: 12.68 MB / 1.042 GB Notification: Performance of Templates: time 0.005566/1.337, allocations: 2.795 MB / 1.6 GB, free: 9.977 MB / 1.042 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches