Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,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.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_latest_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 10.0.0-master/package.mo): time 1.708/1.708, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.00095/0.00095, allocations: 193.2 kB / 490.8 MB, free: 1.98 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.058/1.058, 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.000832/0.0008321, allocations: 88.67 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.699e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4579/0.6262, allocations: 151.4 MB / 1.359 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.6264, allocations: 76.48 kB / 1.359 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.5509/1.177, allocations: 248.6 MB / 1.602 GB, free: 3.07 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.176e-05/1.177, allocations: 11.94 kB / 1.602 GB, free: 3.062 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.001382/1.179, allocations: 495.7 kB / 1.603 GB, free: 2.551 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/1.179, allocations: 8.031 kB / 1.603 GB, free: 2.543 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/1.179, allocations: 35.53 kB / 1.603 GB, free: 2.508 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/1.179, allocations: 382.7 kB / 1.603 GB, free: 2.137 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/1.179, allocations: 7.984 kB / 1.603 GB, free: 2.129 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/1.179, allocations: 4 kB / 1.603 GB, free: 2.125 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.757e-05/1.179, allocations: 64.38 kB / 1.603 GB, free: 2.074 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/1.18, allocations: 107.2 kB / 1.603 GB, free: 1.961 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.18, allocations: 4 kB / 1.603 GB, free: 1.957 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.18, allocations: 3.984 kB / 1.603 GB, free: 1.953 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.18, allocations: 0 / 1.603 GB, free: 1.953 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/1.18, allocations: 311.2 kB / 1.604 GB, free: 1.652 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 8.733e-05/1.18, allocations: 109.4 kB / 1.604 GB, free: 1.52 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/1.18, allocations: 62.97 kB / 1.604 GB, free: 1.453 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/1.18, allocations: 3.938 kB / 1.604 GB, free: 1.449 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.18, allocations: 41.98 kB / 1.604 GB, free: 1.402 MB / 1.026 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/1.18, allocations: 0 / 1.604 GB, free: 1.402 MB / 1.026 GB Notification: Performance of matching and sorting (n=4): time 0.0002229/1.18, allocations: 144 kB / 1.604 GB, free: 1.27 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.18, allocations: 140.6 kB / 1.604 GB, free: 1.102 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/1.181, allocations: 420.6 kB / 1.604 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.181, allocations: 25.7 kB / 1.604 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/1.181, allocations: 115.6 kB / 1.605 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/1.181, allocations: 15.56 kB / 1.605 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/1.181, allocations: 7.938 kB / 1.605 GB, free: 0.6133 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/1.181, allocations: 345.1 kB / 1.605 GB, free: 284 kB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/1.181, allocations: 46.02 kB / 1.605 GB, free: 248 kB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/1.181, allocations: 89.08 kB / 1.605 GB, free: 144 kB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/1.181, allocations: 42.89 kB / 1.605 GB, free: 108 kB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.181, allocations: 4 kB / 1.605 GB, free: 104 kB / 1.026 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001821/1.181, allocations: 147.5 kB / 1.605 GB, free: 15.97 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.181, allocations: 7.984 kB / 1.605 GB, free: 15.96 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.181, allocations: 0 / 1.605 GB, free: 15.96 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/1.181, allocations: 0 / 1.605 GB, free: 15.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/1.182, allocations: 11.94 kB / 1.605 GB, free: 15.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.182, allocations: 7.984 kB / 1.605 GB, free: 15.94 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.182, allocations: 4 kB / 1.605 GB, free: 15.94 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.182, allocations: 3.938 kB / 1.605 GB, free: 15.93 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 5.75e-05/1.182, allocations: 113 kB / 1.605 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/1.182, allocations: 27.62 kB / 1.605 GB, free: 15.79 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/1.182, allocations: 186.7 kB / 1.606 GB, free: 15.63 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.182, allocations: 4 kB / 1.606 GB, free: 15.62 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.182, allocations: 4.125 kB / 1.606 GB, free: 15.62 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.182, allocations: 4.141 kB / 1.606 GB, free: 15.62 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/1.182, allocations: 277.6 kB / 1.606 GB, free: 15.35 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.182, allocations: 0 / 1.606 GB, free: 15.35 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/1.182, allocations: 12 kB / 1.606 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.182, allocations: 0 / 1.606 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.182, allocations: 4 kB / 1.606 GB, free: 15.33 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.182, allocations: 3.984 kB / 1.606 GB, free: 15.33 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.182, allocations: 0 / 1.606 GB, free: 15.33 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001987/1.183, allocations: 232.1 kB / 1.606 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.183, allocations: 131 kB / 1.606 GB, free: 14.94 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/1.183, allocations: 3.984 kB / 1.606 GB, free: 14.94 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.183, allocations: 8 kB / 1.606 GB, free: 14.93 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/1.183, allocations: 7.906 kB / 1.606 GB, free: 14.92 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/1.183, allocations: 0 / 1.606 GB, free: 14.92 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0002983/1.183, allocations: 351.9 kB / 1.607 GB, free: 14.65 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002404/1.184, allocations: 47.98 kB / 1.607 GB, free: 14.61 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.0001502/1.184, allocations: 122.1 kB / 1.607 GB, free: 14.48 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001669/1.184, allocations: 86.23 kB / 1.607 GB, free: 14.41 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.184, allocations: 0 / 1.607 GB, free: 14.41 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/1.184, allocations: 49.66 kB / 1.607 GB, free: 14.38 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/1.184, allocations: 58.14 kB / 1.607 GB, free: 14.33 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/1.185, allocations: 442.6 kB / 1.607 GB, free: 13.9 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/1.185, allocations: 0.8468 MB / 1.608 GB, free: 13.05 MB / 1.042 GB Notification: Performance of SimCode: time 1.343e-06/1.185, allocations: 4 kB / 1.608 GB, free: 13.04 MB / 1.042 GB Notification: Performance of Templates: time 0.005546/1.191, allocations: 2.79 MB / 1.611 GB, free: 10.35 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches