Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [: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.333/1.333, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.001031/0.001031, allocations: 180.4 kB / 316 MB, free: 3.539 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.296/1.296, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008656/0.0008655, allocations: 72.11 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.732e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2219, allocations: 106.3 MB / 0.8845 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.142/5.364, allocations: 2.19 GB / 3.074 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/5.365, allocations: 95.88 kB / 3.074 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.07165/5.436, allocations: 28.54 MB / 3.102 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.59e-05/5.436, allocations: 23.94 kB / 3.102 GB, free: 181.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001543/5.438, allocations: 0.9431 MB / 3.103 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/5.438, allocations: 12.03 kB / 3.103 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/5.438, allocations: 102.8 kB / 3.103 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/5.439, allocations: 0.5648 MB / 3.104 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/5.439, allocations: 20 kB / 3.104 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/5.439, allocations: 35.94 kB / 3.104 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001297/5.441, allocations: 0.8688 MB / 3.105 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/5.442, allocations: 0.6007 MB / 3.105 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/5.442, allocations: 4 kB / 3.105 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/5.442, allocations: 0 / 3.105 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/5.442, allocations: 16 kB / 3.105 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/5.444, allocations: 2.234 MB / 3.108 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/5.445, allocations: 0.5519 MB / 3.108 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/5.445, allocations: 203.1 kB / 3.108 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/5.445, allocations: 28.52 kB / 3.108 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/5.446, allocations: 313.2 kB / 3.109 GB, free: 175 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 2.856e-06/5.446, allocations: 3.984 kB / 3.109 GB, free: 175 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.0007689/5.446, allocations: 499.6 kB / 3.109 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/5.447, allocations: 291.2 kB / 3.109 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/5.447, allocations: 0.5021 MB / 3.11 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/5.447, allocations: 25.7 kB / 3.11 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/5.447, allocations: 252.5 kB / 3.11 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/5.447, allocations: 197.1 kB / 3.11 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/5.447, allocations: 0 / 3.11 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/5.447, allocations: 366.8 kB / 3.111 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/5.448, allocations: 153.3 kB / 3.111 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/5.448, allocations: 274.4 kB / 3.111 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/5.448, allocations: 205.2 kB / 3.111 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.448, allocations: 0 / 3.111 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000711/5.449, allocations: 0.5075 MB / 3.112 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/5.449, allocations: 4 kB / 3.112 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/5.449, allocations: 4 kB / 3.112 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/5.449, allocations: 0 / 3.112 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/5.45, allocations: 119.8 kB / 3.112 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/5.45, allocations: 4 kB / 3.112 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/5.45, allocations: 59.62 kB / 3.112 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/5.45, allocations: 24.09 kB / 3.112 GB, free: 171.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001236/5.45, allocations: 127.3 kB / 3.112 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/5.45, allocations: 67.16 kB / 3.112 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/5.451, allocations: 0.7291 MB / 3.113 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/5.451, allocations: 8 kB / 3.113 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/5.451, allocations: 7.891 kB / 3.113 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/5.451, allocations: 3.938 kB / 3.113 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/5.452, allocations: 0.8277 MB / 3.114 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/5.452, allocations: 8.031 kB / 3.114 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/5.453, allocations: 123.8 kB / 3.114 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/5.453, allocations: 4 kB / 3.114 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/5.453, allocations: 7.984 kB / 3.114 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/5.453, allocations: 4 kB / 3.114 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/5.453, allocations: 3.906 kB / 3.114 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007264/5.454, allocations: 0.5993 MB / 3.115 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/5.454, allocations: 260 kB / 3.115 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/5.454, allocations: 3.906 kB / 3.115 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/5.454, allocations: 47.95 kB / 3.115 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/5.454, allocations: 44.58 kB / 3.115 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/5.455, allocations: 20 kB / 3.115 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004279/5.455, allocations: 406.9 kB / 3.115 GB, free: 168 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007238/5.456, allocations: 231.3 kB / 3.115 GB, free: 167.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008936/5.457, allocations: 474.9 kB / 3.116 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006265/5.457, allocations: 442.3 kB / 3.116 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.457, allocations: 3.938 kB / 3.116 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/5.458, allocations: 266.4 kB / 3.117 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/5.458, allocations: 196.1 kB / 3.117 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/5.46, allocations: 0.9822 MB / 3.118 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/5.461, allocations: 1.062 MB / 3.119 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/5.461, allocations: 4 kB / 3.119 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.01881/5.48, allocations: 10.77 MB / 3.129 GB, free: 153.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches