Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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.338/1.338, allocations: 249.4 MB / 256.7 MB, free: 0.6211 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 177.3 kB / 316 MB, free: 8.793 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 0.5667 GB, free: 13.37 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 89.08 kB / 0.671 GB, free: 51.5 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.016e-05, allocations: 4 kB / 0.7807 GB, free: 9.871 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7266, allocations: 106.3 MB / 0.8846 GB, free: 89.07 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.9555, allocations: 134 MB / 1.015 GB, free: 11.56 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004241/0.9561, allocations: 81.55 kB / 1.016 GB, free: 11.48 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.02585/0.982, allocations: 9.019 MB / 1.024 GB, free: 2.641 MB / 0.6589 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.982, allocations: 8 kB / 1.024 GB, free: 2.633 MB / 0.6589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000782/0.9828, allocations: 0.4979 MB / 1.025 GB, free: 2.098 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.9829, allocations: 12.03 kB / 1.025 GB, free: 2.086 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.983, allocations: 23.72 kB / 1.025 GB, free: 2.062 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.9834, allocations: 259.3 kB / 1.025 GB, free: 1.77 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.9834, allocations: 4 kB / 1.025 GB, free: 1.766 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.9835, allocations: 15.84 kB / 1.025 GB, free: 1.75 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001037/0.9845, allocations: 0.7256 MB / 1.026 GB, free: 1.023 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.9849, allocations: 194.8 kB / 1.026 GB, free: 0.8203 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.9849, allocations: 0.6562 kB / 1.026 GB, free: 0.8203 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.9849, allocations: 0 / 1.026 GB, free: 0.8203 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.9849, allocations: 4 kB / 1.026 GB, free: 0.8164 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.9859, allocations: 0.5253 MB / 1.027 GB, free: 256 kB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.9865, allocations: 284.1 kB / 1.027 GB, free: 15.96 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.9867, allocations: 95.64 kB / 1.027 GB, free: 15.87 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.9868, allocations: 16.25 kB / 1.027 GB, free: 15.86 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.9871, allocations: 165.8 kB / 1.027 GB, free: 15.68 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.9871, allocations: 0 / 1.027 GB, free: 15.68 MB / 0.6746 GB Notification: Performance of matching and sorting (n=34): time 0.0005749/0.9877, allocations: 253.2 kB / 1.027 GB, free: 15.43 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.9878, allocations: 136.5 kB / 1.027 GB, free: 15.27 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.9881, allocations: 255 kB / 1.028 GB, free: 15.01 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.9882, allocations: 26.73 kB / 1.028 GB, free: 14.98 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.9882, allocations: 104.8 kB / 1.028 GB, free: 14.87 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.9883, allocations: 110.3 kB / 1.028 GB, free: 14.76 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.9884, allocations: 4 kB / 1.028 GB, free: 14.76 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9885, allocations: 338.8 kB / 1.028 GB, free: 14.42 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.9887, allocations: 71.98 kB / 1.028 GB, free: 14.35 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.9889, allocations: 118.7 kB / 1.028 GB, free: 14.22 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.989, allocations: 95.94 kB / 1.029 GB, free: 14.13 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9891, allocations: 0 / 1.029 GB, free: 14.13 MB / 0.6746 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004591/0.9895, allocations: 261.8 kB / 1.029 GB, free: 13.87 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.9896, allocations: 13.81 kB / 1.029 GB, free: 13.86 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.9896, allocations: 1.219 kB / 1.029 GB, free: 13.86 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9896, allocations: 4 kB / 1.029 GB, free: 13.85 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.9899, allocations: 61.45 kB / 1.029 GB, free: 13.79 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.9899, allocations: 6.109 kB / 1.029 GB, free: 13.79 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.9901, allocations: 19.78 kB / 1.029 GB, free: 13.77 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.9901, allocations: 11.98 kB / 1.029 GB, free: 13.76 MB / 0.6746 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 (35): * Single equations (assignments): 35 * 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.0001319/0.9903, allocations: 116.9 kB / 1.029 GB, free: 13.64 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.9903, allocations: 23.72 kB / 1.029 GB, free: 13.61 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.9912, allocations: 378.1 kB / 1.029 GB, free: 13.27 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.9912, allocations: 4 kB / 1.029 GB, free: 13.26 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.9912, allocations: 11.84 kB / 1.029 GB, free: 13.25 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.9912, allocations: 0 / 1.029 GB, free: 13.25 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.9916, allocations: 297.8 kB / 1.03 GB, free: 12.92 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9916, allocations: 1.5 kB / 1.03 GB, free: 12.92 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.9918, allocations: 52.8 kB / 1.03 GB, free: 12.87 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.9918, allocations: 7.984 kB / 1.03 GB, free: 12.86 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.9918, allocations: 8 kB / 1.03 GB, free: 12.86 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.9919, allocations: 7.906 kB / 1.03 GB, free: 12.85 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9919, allocations: 0 / 1.03 GB, free: 12.85 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004915/0.9924, allocations: 294 kB / 1.03 GB, free: 12.54 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.9926, allocations: 160.5 kB / 1.03 GB, free: 12.36 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.9927, allocations: 2.312 kB / 1.03 GB, free: 12.36 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.9928, allocations: 15.98 kB / 1.03 GB, free: 12.35 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.9929, allocations: 23.53 kB / 1.03 GB, free: 12.33 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.9929, allocations: 15.98 kB / 1.03 GB, free: 12.31 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0002563/0.9932, allocations: 209.8 kB / 1.03 GB, free: 12.11 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.0003863/0.9936, allocations: 55.94 kB / 1.03 GB, free: 12.05 MB / 0.6746 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 (34): * Single equations (assignments): 33 * 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.0009971/0.9946, allocations: 309.5 kB / 1.031 GB, free: 11.87 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.9951, allocations: 207.8 kB / 1.031 GB, free: 11.67 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9951, allocations: 4 kB / 1.031 GB, free: 11.66 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.9953, allocations: 116.5 kB / 1.031 GB, free: 11.55 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.9956, allocations: 31.52 kB / 1.031 GB, free: 11.52 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.9966, allocations: 404.6 kB / 1.032 GB, free: 11.11 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.9972, allocations: 0.8089 MB / 1.032 GB, free: 10.27 MB / 0.6746 GB Notification: Performance of SimCode: time 3.91e-07/0.9972, allocations: 0 / 1.032 GB, free: 10.27 MB / 0.6746 GB Notification: Performance of Templates: time 0.007883/1.005, allocations: 3.528 MB / 1.036 GB, free: 6.812 MB / 0.6746 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=432000.000000 File[5002]=8640000.000000 " Variables in the reference:time,limCeiHei.u,limCeiHei.ceiHei Variables in the result:conTim.canRepeatWeatherFile,conTim.lenWea,conTim.weaDatEndTim,conTim.weaDatStaTim,datRea.columns[10],datRea.columns[11],datRea.columns[12],datRea.columns[13],datRea.columns[14],datRea.columns[15],datRea.columns[16],datRea.columns[17],datRea.columns[18],datRea.columns[19],datRea.columns[1],datRea.columns[20],datRea.columns[21],datRea.columns[22],datRea.columns[23],datRea.columns[24],datRea.columns[25],datRea.columns[26],datRea.columns[27],datRea.columns[28],datRea.columns[29],datRea.columns[2],datRea.columns[3],datRea.columns[4],datRea.columns[5],datRea.columns[6],datRea.columns[7],datRea.columns[8],datRea.columns[9],datRea.extrapolation,datRea.nout,datRea.smoothness,datRea.tableOnFile,datRea.u_max,datRea.u_min,datRea.verboseExtrapolation,datRea.verboseRead,limCeiHei.ceiHei,limCeiHei.u,time