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.515/1.515, allocations: 249.5 MB / 257 MB, free: 6.855 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.001135/0.001136, allocations: 188.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001292/0.001292, allocations: 78.5 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.581e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2544, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9579/1.212, allocations: 135 MB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.213, allocations: 90.62 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01985/1.233, allocations: 7.691 MB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/1.233, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.691e-05/1.233, allocations: 7.938 kB / 1.025 GB, free: 12.49 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006707/1.233, allocations: 479.7 kB / 1.025 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.233, allocations: 8.031 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/1.233, allocations: 23.72 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/1.234, allocations: 278.9 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/1.234, allocations: 8 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/1.234, allocations: 12 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008378/1.235, allocations: 0.7208 MB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/1.235, allocations: 188.1 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.235, allocations: 4 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/1.235, allocations: 3.938 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.235, allocations: 4 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/1.236, allocations: 0.5235 MB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/1.236, allocations: 267.5 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/1.236, allocations: 89.53 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/1.236, allocations: 28.12 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/1.237, allocations: 161.8 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/1.237, allocations: 0 / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0004733/1.237, allocations: 261.4 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.237, allocations: 132.5 kB / 1.028 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.238, allocations: 248.3 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/1.238, allocations: 25.7 kB / 1.028 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/1.238, allocations: 120.5 kB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/1.238, allocations: 112.8 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/1.238, allocations: 4 kB / 1.028 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.238, allocations: 341 kB / 1.029 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/1.238, allocations: 69.84 kB / 1.029 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/1.238, allocations: 118.8 kB / 1.029 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.238, allocations: 96.8 kB / 1.029 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.238, allocations: 0 / 1.029 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003749/1.239, allocations: 255.9 kB / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.239, allocations: 8 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.239, allocations: 0 / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.239, allocations: 0 / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/1.239, allocations: 63.84 kB / 1.029 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.239, allocations: 0 / 1.029 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/1.239, allocations: 23.83 kB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/1.239, allocations: 8 kB / 1.029 GB, free: 8.285 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 (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.0001149/1.239, allocations: 120.7 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/1.239, allocations: 35.61 kB / 1.029 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/1.24, allocations: 352.8 kB / 1.03 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.24, allocations: 3.938 kB / 1.03 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.24, allocations: 4 kB / 1.03 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.24, allocations: 4.031 kB / 1.03 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/1.24, allocations: 300.2 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.24, allocations: 7.938 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/1.241, allocations: 59.97 kB / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.241, allocations: 0 / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.241, allocations: 11.55 kB / 1.03 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.241, allocations: 0 / 1.03 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.241, allocations: 4 kB / 1.03 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/1.241, allocations: 301.7 kB / 1.03 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/1.241, allocations: 155.2 kB / 1.03 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/1.241, allocations: 4 kB / 1.03 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.241, allocations: 11.98 kB / 1.03 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/1.242, allocations: 27.28 kB / 1.031 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.242, allocations: 15.36 kB / 1.031 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002166/1.242, allocations: 203.1 kB / 1.031 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/1.242, allocations: 0 / 1.031 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003112/1.242, allocations: 55.62 kB / 1.031 GB, free: 6.801 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 (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.0008552/1.243, allocations: 354.1 kB / 1.031 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003318/1.243, allocations: 208.9 kB / 1.031 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.243, allocations: 0 / 1.031 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/1.243, allocations: 115.1 kB / 1.031 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/1.244, allocations: 23.41 kB / 1.031 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/1.244, allocations: 387.4 kB / 1.032 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/1.245, allocations: 0.757 MB / 1.033 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003225/1.245, allocations: 155.1 kB / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/1.245, allocations: 50.22 kB / 1.033 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.245, allocations: 0 / 1.033 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of Templates: time 0.006078/1.251, allocations: 2.782 MB / 1.035 GB, free: 2.195 MB / 0.6511 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