Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 189.2 kB / 316 MB, free: 3.625 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 82.23 kB / 0.671 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.105e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5712/0.7774, allocations: 136.3 MB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.7777, allocations: 84.05 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02793/0.8056, allocations: 9.927 MB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.8057, allocations: 8 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007955/0.8065, allocations: 0.5169 MB / 1.028 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8065, allocations: 8.031 kB / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.8067, allocations: 35.62 kB / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.8071, allocations: 279 kB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.8071, allocations: 7.906 kB / 1.028 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.8072, allocations: 15.98 kB / 1.028 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008911/0.8081, allocations: 0.7312 MB / 1.029 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.8084, allocations: 214.5 kB / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8085, allocations: 0 / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.8085, allocations: 4 kB / 1.029 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.8085, allocations: 4 kB / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.8094, allocations: 0.5618 MB / 1.03 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.8099, allocations: 284.7 kB / 1.03 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.8101, allocations: 95.91 kB / 1.03 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/0.8101, allocations: 24.17 kB / 1.03 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.8104, allocations: 167.8 kB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.8104, allocations: 0 / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0005606/0.811, allocations: 268.7 kB / 1.031 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.8111, allocations: 136.5 kB / 1.031 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.8114, allocations: 263.2 kB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.8114, allocations: 29.7 kB / 1.031 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.8115, allocations: 111.9 kB / 1.031 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.8116, allocations: 102.3 kB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.8116, allocations: 0 / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8118, allocations: 339.5 kB / 1.032 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.8119, allocations: 75.47 kB / 1.032 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.8121, allocations: 122.1 kB / 1.032 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.8122, allocations: 103.4 kB / 1.032 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8122, allocations: 0 / 1.032 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004211/0.8127, allocations: 263.2 kB / 1.032 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8127, allocations: 8 kB / 1.032 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8127, allocations: 0 / 1.032 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8127, allocations: 0 / 1.032 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.813, allocations: 59.91 kB / 1.032 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.813, allocations: 4 kB / 1.032 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.8132, allocations: 34.42 kB / 1.032 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.8132, allocations: 12 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001079/0.8133, allocations: 107.7 kB / 1.032 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.8134, allocations: 31.62 kB / 1.032 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.8141, allocations: 369.1 kB / 1.033 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8141, allocations: 4 kB / 1.033 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8141, allocations: 0 / 1.033 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8141, allocations: 7.984 kB / 1.033 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.8144, allocations: 310.9 kB / 1.033 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8144, allocations: 0 / 1.033 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.8146, allocations: 59.91 kB / 1.033 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.8147, allocations: 0 / 1.033 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.8147, allocations: 7.562 kB / 1.033 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8147, allocations: 4 kB / 1.033 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8147, allocations: 0 / 1.033 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004357/0.8151, allocations: 317.6 kB / 1.033 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.8153, allocations: 166.1 kB / 1.033 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.8154, allocations: 3.906 kB / 1.033 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.8156, allocations: 19.98 kB / 1.033 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.8157, allocations: 27.95 kB / 1.034 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.8157, allocations: 13.19 kB / 1.034 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001924/0.8159, allocations: 214.5 kB / 1.034 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000337/0.8162, allocations: 71.36 kB / 1.034 GB, free: 4.473 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007065/0.817, allocations: 313.9 kB / 1.034 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.8173, allocations: 208.7 kB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8173, allocations: 4 kB / 1.034 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.8175, allocations: 124.2 kB / 1.034 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.8178, allocations: 29.78 kB / 1.034 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008739/0.8187, allocations: 411.7 kB / 1.035 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.8192, allocations: 0.8176 MB / 1.036 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.8192, allocations: 0 / 1.036 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of Templates: time 0.007631/0.8268, allocations: 3.883 MB / 1.039 GB, free: 14.91 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches