Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.741/1.741, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.000913/0.000913, allocations: 180.1 kB / 490.8 MB, free: 1.945 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.088/1.088, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 93.67 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.39e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1701, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.6159, allocations: 151.3 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.6161, allocations: 78.05 kB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.5598/1.176, allocations: 244.9 MB / 1.599 GB, free: 5.785 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.176, allocations: 4 kB / 1.599 GB, free: 5.781 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.00139/1.177, allocations: 0.4905 MB / 1.599 GB, free: 5.262 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/1.177, allocations: 8.031 kB / 1.599 GB, free: 5.254 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/1.177, allocations: 31.62 kB / 1.599 GB, free: 5.223 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/1.178, allocations: 387 kB / 1.599 GB, free: 4.852 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-06/1.178, allocations: 0 / 1.599 GB, free: 4.852 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/1.178, allocations: 4 kB / 1.599 GB, free: 4.848 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.487e-05/1.178, allocations: 70.61 kB / 1.599 GB, free: 4.793 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/1.178, allocations: 96.7 kB / 1.6 GB, free: 4.688 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/1.178, allocations: 3.938 kB / 1.6 GB, free: 4.684 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.178, allocations: 7.906 kB / 1.6 GB, free: 4.676 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/1.178, allocations: 0 / 1.6 GB, free: 4.676 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/1.179, allocations: 312.8 kB / 1.6 GB, free: 4.371 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/1.179, allocations: 114.1 kB / 1.6 GB, free: 4.23 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/1.179, allocations: 62.84 kB / 1.6 GB, free: 4.168 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.179, allocations: 0 / 1.6 GB, free: 4.168 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/1.179, allocations: 42.5 kB / 1.6 GB, free: 4.117 MB / 1.026 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.179, allocations: 4 kB / 1.6 GB, free: 4.113 MB / 1.026 GB Notification: Performance of matching and sorting (n=4): time 0.000262/1.179, allocations: 152.8 kB / 1.6 GB, free: 3.973 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.179, allocations: 128.5 kB / 1.6 GB, free: 3.816 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/1.18, allocations: 424.8 kB / 1.601 GB, free: 3.48 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.18, allocations: 32.39 kB / 1.601 GB, free: 3.445 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/1.18, allocations: 116.4 kB / 1.601 GB, free: 3.34 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/1.18, allocations: 3.906 kB / 1.601 GB, free: 3.336 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/1.18, allocations: 0 / 1.601 GB, free: 3.336 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/1.18, allocations: 351.8 kB / 1.601 GB, free: 2.996 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/1.18, allocations: 32.91 kB / 1.601 GB, free: 2.973 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/1.18, allocations: 101 kB / 1.601 GB, free: 2.859 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/1.18, allocations: 42.84 kB / 1.601 GB, free: 2.824 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.18, allocations: 0 / 1.601 GB, free: 2.824 MB / 1.026 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001809/1.18, allocations: 146.7 kB / 1.602 GB, free: 2.691 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/1.18, allocations: 4 kB / 1.602 GB, free: 2.688 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/1.18, allocations: 8.125 kB / 1.602 GB, free: 2.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/1.18, allocations: 0 / 1.602 GB, free: 2.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/1.18, allocations: 11.98 kB / 1.602 GB, free: 2.668 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.18, allocations: 0 / 1.602 GB, free: 2.668 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/1.18, allocations: 7.984 kB / 1.602 GB, free: 2.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/1.18, allocations: 4 kB / 1.602 GB, free: 2.656 MB / 1.026 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 5.669e-05/1.181, allocations: 108.8 kB / 1.602 GB, free: 2.543 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/1.181, allocations: 31.62 kB / 1.602 GB, free: 2.512 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.181, allocations: 186.7 kB / 1.602 GB, free: 2.352 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.181, allocations: 4 kB / 1.602 GB, free: 2.348 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.181, allocations: 3.984 kB / 1.602 GB, free: 2.344 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.181, allocations: 0 / 1.602 GB, free: 2.344 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/1.181, allocations: 277.5 kB / 1.602 GB, free: 2.078 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.181, allocations: 4 kB / 1.602 GB, free: 2.074 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/1.181, allocations: 15.92 kB / 1.602 GB, free: 2.059 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.181, allocations: 8.125 kB / 1.602 GB, free: 2.051 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.181, allocations: 0 / 1.602 GB, free: 2.051 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.181, allocations: 4 kB / 1.602 GB, free: 2.047 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.181, allocations: 0 / 1.602 GB, free: 2.047 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001964/1.181, allocations: 227 kB / 1.602 GB, free: 1.805 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.182, allocations: 134.5 kB / 1.603 GB, free: 1.66 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/1.182, allocations: 0 / 1.603 GB, free: 1.66 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/1.182, allocations: 4 kB / 1.603 GB, free: 1.656 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/1.182, allocations: 15.77 kB / 1.603 GB, free: 1.641 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/1.182, allocations: 4 kB / 1.603 GB, free: 1.637 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0002988/1.182, allocations: 352 kB / 1.603 GB, free: 1.367 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002333/1.182, allocations: 40 kB / 1.603 GB, free: 1.328 MB / 1.026 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.0001392/1.182, allocations: 127.1 kB / 1.603 GB, free: 1.199 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0001372/1.183, allocations: 91.22 kB / 1.603 GB, free: 1.129 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.183, allocations: 0 / 1.603 GB, free: 1.129 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/1.183, allocations: 46.59 kB / 1.603 GB, free: 1.09 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/1.183, allocations: 59.81 kB / 1.603 GB, free: 1.047 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/1.184, allocations: 432.3 kB / 1.604 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/1.184, allocations: 0.8485 MB / 1.604 GB, free: 15.76 MB / 1.042 GB Notification: Performance of SimCode: time 2.91e-07/1.184, allocations: 0 / 1.604 GB, free: 15.76 MB / 1.042 GB Notification: Performance of Templates: time 0.005544/1.19, allocations: 2.801 MB / 1.607 GB, free: 13.09 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches