Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.788/1.788, 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.0009369/0.0009369, allocations: 196.6 kB / 487 MB, free: 5.371 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0008909/0.0008909, allocations: 93.02 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.171e-06/6.261e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1864, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6858, allocations: 153.3 MB / 1.355 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.6861, allocations: 86.09 kB / 1.355 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02524/0.7114, allocations: 10.17 MB / 1.365 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.7114, allocations: 4 kB / 1.365 GB, free: 12.49 MB / 0.8073 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.0005764/0.712, allocations: 0.5203 MB / 1.365 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.712, allocations: 9.031 kB / 1.365 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.7122, allocations: 35.61 kB / 1.365 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.7125, allocations: 277.8 kB / 1.366 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.7125, allocations: 8 kB / 1.366 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.7125, allocations: 8 kB / 1.366 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006911/0.7132, allocations: 0.7372 MB / 1.366 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.7135, allocations: 204.9 kB / 1.367 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.7135, allocations: 0 / 1.367 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.7135, allocations: 0 / 1.367 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.7135, allocations: 7.906 kB / 1.367 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.7142, allocations: 0.5716 MB / 1.367 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.7146, allocations: 283.1 kB / 1.368 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.7147, allocations: 104.4 kB / 1.368 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.7147, allocations: 20.02 kB / 1.368 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.7149, allocations: 165.5 kB / 1.368 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.7149, allocations: 0 / 1.368 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.0003884/0.7153, allocations: 260.2 kB / 1.368 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.7154, allocations: 140.4 kB / 1.368 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.7156, allocations: 268.5 kB / 1.368 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.7156, allocations: 25.7 kB / 1.368 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.7156, allocations: 114 kB / 1.369 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.7157, allocations: 109 kB / 1.369 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.7157, allocations: 0 / 1.369 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.7158, allocations: 337.3 kB / 1.369 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.7159, allocations: 72.11 kB / 1.369 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.716, allocations: 119.5 kB / 1.369 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.7161, allocations: 107.5 kB / 1.369 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7161, allocations: 0 / 1.369 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003298/0.7165, allocations: 256.8 kB / 1.37 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.7165, allocations: 4 kB / 1.37 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7165, allocations: 11.83 kB / 1.37 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7165, allocations: 4 kB / 1.37 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.7167, allocations: 55.97 kB / 1.37 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.7167, allocations: 0 / 1.37 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.7169, allocations: 35.7 kB / 1.37 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.7169, allocations: 15.36 kB / 1.37 GB, free: 8.113 MB / 0.8073 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 6.467e-05/0.717, allocations: 108.9 kB / 1.37 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.717, allocations: 23.72 kB / 1.37 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.7176, allocations: 378.3 kB / 1.37 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7176, allocations: 4 kB / 1.37 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7176, allocations: 7.906 kB / 1.37 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7176, allocations: 4 kB / 1.37 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.7178, allocations: 314.8 kB / 1.37 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7178, allocations: 0 / 1.37 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.718, allocations: 55.91 kB / 1.37 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.718, allocations: 4 kB / 1.37 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.718, allocations: 15.45 kB / 1.371 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.718, allocations: 0 / 1.371 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7181, allocations: 0 / 1.371 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003282/0.7184, allocations: 303.5 kB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.7185, allocations: 152.8 kB / 1.371 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.7186, allocations: 4 kB / 1.371 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.7187, allocations: 31.66 kB / 1.371 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.7188, allocations: 15.97 kB / 1.371 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.7188, allocations: 27.05 kB / 1.371 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001301/0.719, allocations: 217.1 kB / 1.371 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002802/0.7192, allocations: 71.78 kB / 1.371 GB, free: 6.582 MB / 0.8073 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.0005423/0.7198, allocations: 318 kB / 1.372 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.7201, allocations: 215.7 kB / 1.372 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7201, allocations: 4 kB / 1.372 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.7202, allocations: 127.5 kB / 1.372 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.7204, allocations: 25.17 kB / 1.372 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.721, allocations: 409.4 kB / 1.372 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.7213, allocations: 0.8213 MB / 1.373 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/0.7213, allocations: 0 / 1.373 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of Templates: time 0.005934/0.7272, allocations: 3.891 MB / 1.377 GB, free: 1.043 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches