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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 179.6 kB / 326.5 MB, free: 2.223 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.951/1.951, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0009304/0.00093, allocations: 103.2 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.000515, allocations: 9.219 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.4416, allocations: 134.8 MB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.442, allocations: 91.94 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02101/0.463, allocations: 8.036 MB / 1.04 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4631, allocations: 0 / 1.04 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.4631, allocations: 4 kB / 1.04 GB, free: 1.176 MB / 0.6823 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.0009187/0.464, allocations: 0.4992 MB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4641, allocations: 8.031 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4642, allocations: 27.66 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.4647, allocations: 262.6 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.4647, allocations: 15.94 kB / 1.04 GB, free: 288 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4647, allocations: 16 kB / 1.04 GB, free: 272 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.4651, allocations: 204.8 kB / 1.041 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4652, allocations: 0 / 1.041 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4652, allocations: 8 kB / 1.041 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4652, allocations: 4 kB / 1.041 GB, free: 36 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/0.4662, allocations: 0.7373 MB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4672, allocations: 0.5707 MB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.4678, allocations: 292.7 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.4679, allocations: 16.25 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.4682, allocations: 190 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.4682, allocations: 0 / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.0007464/0.469, allocations: 361.1 kB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.4691, allocations: 140.5 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.4695, allocations: 259.2 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.4696, allocations: 33.7 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4697, allocations: 128.6 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4698, allocations: 106.5 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.4698, allocations: 4 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.47, allocations: 338.8 kB / 1.044 GB, free: 12.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4701, allocations: 83.89 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4703, allocations: 127.2 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.4705, allocations: 100.3 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4705, allocations: 0 / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004277/0.471, allocations: 277.6 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.471, allocations: 4 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.471, allocations: 4 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.471, allocations: 0 / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.4713, allocations: 63.84 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4713, allocations: 4 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.4714, allocations: 27.73 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4715, allocations: 19.95 kB / 1.044 GB, free: 12.04 MB / 0.698 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 () * Number of clocked 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.0001699/0.4716, allocations: 157.8 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.4717, allocations: 27.72 kB / 1.045 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007301/0.4724, allocations: 388.2 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4725, allocations: 7.984 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4725, allocations: 0 / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4725, allocations: 0 / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.4729, allocations: 341.1 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4729, allocations: 0 / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.4731, allocations: 63.91 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4731, allocations: 4 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.4731, allocations: 11.98 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4731, allocations: 4 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4731, allocations: 0 / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.4736, allocations: 323 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.4738, allocations: 152.7 kB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4738, allocations: 4 kB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.474, allocations: 23.98 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.4741, allocations: 23.97 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.4741, allocations: 15.98 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002153/0.4743, allocations: 209.6 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4743, allocations: 7.875 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003292/0.4747, allocations: 75.98 kB / 1.046 GB, free: 10.14 MB / 0.698 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) * Number of clocked states: 0 () * 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.001041/0.4757, allocations: 398.8 kB / 1.047 GB, free: 9.891 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.4762, allocations: 231.9 kB / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4762, allocations: 8 kB / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.4764, allocations: 123.9 kB / 1.047 GB, free: 9.535 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4767, allocations: 24.62 kB / 1.047 GB, free: 9.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.4777, allocations: 0.5623 MB / 1.047 GB, free: 8.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.478, allocations: 0.7613 MB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.4784, allocations: 150.8 kB / 1.048 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4785, allocations: 47.41 kB / 1.048 GB, free: 7.93 MB / 0.698 GB Notification: Performance of SimCode: time 4.5e-07/0.4785, allocations: 0 / 1.048 GB, free: 7.93 MB / 0.698 GB Notification: Performance of Templates: time 0.007072/0.4856, allocations: 2.954 MB / 1.051 GB, free: 4.996 MB / 0.698 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