Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.289/2.289, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001257/0.001257, allocations: 164.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 80.02 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.165e-05/4.176e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3408, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.165/5.506, allocations: 1.731 GB / 2.95 GB, free: 104.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/5.506, allocations: 88.86 kB / 2.95 GB, free: 104.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.07101/5.577, allocations: 29.06 MB / 2.978 GB, free: 75.19 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/5.577, allocations: 3.938 kB / 2.978 GB, free: 75.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.234e-05/5.577, allocations: 20 kB / 2.978 GB, free: 75.16 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001688/5.579, allocations: 0.9398 MB / 2.979 GB, free: 74.18 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/5.579, allocations: 12.03 kB / 2.979 GB, free: 74.16 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003882/5.579, allocations: 102.8 kB / 2.979 GB, free: 74.06 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/5.58, allocations: 0.5725 MB / 2.98 GB, free: 73.45 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/5.581, allocations: 41.31 kB / 2.98 GB, free: 73.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.572e-05/5.581, allocations: 60 kB / 2.98 GB, free: 73.35 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/5.582, allocations: 0.6815 MB / 2.981 GB, free: 72.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/5.582, allocations: 7.938 kB / 2.981 GB, free: 72.61 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/5.582, allocations: 27.98 kB / 2.981 GB, free: 72.58 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/5.582, allocations: 20 kB / 2.981 GB, free: 72.56 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/5.583, allocations: 0.9104 MB / 2.982 GB, free: 71.65 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/5.586, allocations: 2.361 MB / 2.984 GB, free: 69.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/5.586, allocations: 0.6019 MB / 2.985 GB, free: 68.59 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/5.587, allocations: 219.3 kB / 2.985 GB, free: 68.37 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-05/5.587, allocations: 24.61 kB / 2.985 GB, free: 68.35 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/5.587, allocations: 346.5 kB / 2.985 GB, free: 67.99 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 1.994e-06/5.587, allocations: 0 / 2.985 GB, free: 67.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.0008489/5.588, allocations: 0.5294 MB / 2.986 GB, free: 67.45 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/5.588, allocations: 295.3 kB / 2.986 GB, free: 67.09 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/5.589, allocations: 0.5816 MB / 2.987 GB, free: 66.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/5.589, allocations: 37.7 kB / 2.987 GB, free: 66.46 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/5.589, allocations: 332.6 kB / 2.987 GB, free: 66.13 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/5.589, allocations: 205.1 kB / 2.987 GB, free: 65.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/5.589, allocations: 8 kB / 2.987 GB, free: 65.92 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001028/5.589, allocations: 378.8 kB / 2.987 GB, free: 65.54 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/5.59, allocations: 165.2 kB / 2.988 GB, free: 65.38 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/5.59, allocations: 297.2 kB / 2.988 GB, free: 65.05 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/5.59, allocations: 207.2 kB / 2.988 GB, free: 64.86 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.59, allocations: 4 kB / 2.988 GB, free: 64.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007136/5.591, allocations: 0.5372 MB / 2.989 GB, free: 64.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/5.591, allocations: 9.406 kB / 2.989 GB, free: 64.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/5.591, allocations: 0 / 2.989 GB, free: 64.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/5.591, allocations: 12.08 kB / 2.989 GB, free: 64.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/5.591, allocations: 115.8 kB / 2.989 GB, free: 64.17 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/5.592, allocations: 4 kB / 2.989 GB, free: 64.17 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/5.592, allocations: 75.5 kB / 2.989 GB, free: 64.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/5.592, allocations: 23.98 kB / 2.989 GB, free: 64.07 MB / 1.167 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.0001217/5.592, allocations: 137.5 kB / 2.989 GB, free: 63.93 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/5.592, allocations: 79.05 kB / 2.989 GB, free: 63.85 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/5.593, allocations: 0.7533 MB / 2.99 GB, free: 63.08 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/5.593, allocations: 15.95 kB / 2.99 GB, free: 63.07 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/5.593, allocations: 0 / 2.99 GB, free: 63.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/5.593, allocations: 7.984 kB / 2.99 GB, free: 63.06 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/5.594, allocations: 0.9365 MB / 2.991 GB, free: 62.06 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/5.594, allocations: 0 / 2.991 GB, free: 62.06 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/5.595, allocations: 115.8 kB / 2.991 GB, free: 61.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/5.595, allocations: 7.953 kB / 2.991 GB, free: 61.94 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/5.595, allocations: 15.98 kB / 2.991 GB, free: 61.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/5.595, allocations: 4 kB / 2.991 GB, free: 61.92 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/5.595, allocations: 4.031 kB / 2.991 GB, free: 61.92 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/5.596, allocations: 0.6469 MB / 2.991 GB, free: 61.24 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/5.596, allocations: 267.8 kB / 2.992 GB, free: 60.96 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/5.596, allocations: 12 kB / 2.992 GB, free: 60.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/5.596, allocations: 63.89 kB / 2.992 GB, free: 60.89 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/5.597, allocations: 48.7 kB / 2.992 GB, free: 60.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/5.597, allocations: 27.98 kB / 2.992 GB, free: 60.81 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004509/5.597, allocations: 479.1 kB / 2.992 GB, free: 60.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/5.597, allocations: 0 / 2.992 GB, free: 60.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007561/5.598, allocations: 271.4 kB / 2.993 GB, free: 60.09 MB / 1.167 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.001291/5.599, allocations: 0.5812 MB / 2.993 GB, free: 59.64 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006755/5.6, allocations: 466.8 kB / 2.994 GB, free: 59.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/5.6, allocations: 0 / 2.994 GB, free: 59.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/5.6, allocations: 276.4 kB / 2.994 GB, free: 58.92 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/5.601, allocations: 214 kB / 2.994 GB, free: 58.72 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/5.603, allocations: 1.003 MB / 2.995 GB, free: 57.68 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/5.603, allocations: 0.966 MB / 2.996 GB, free: 56.69 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000701/5.604, allocations: 241.7 kB / 2.996 GB, free: 56.45 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/5.604, allocations: 91.41 kB / 2.996 GB, free: 56.36 MB / 1.167 GB Notification: Performance of SimCode: time 4.71e-07/5.604, allocations: 0 / 2.996 GB, free: 56.36 MB / 1.167 GB Notification: Performance of Templates: time 0.01791/5.622, allocations: 10.91 MB / 3.007 GB, free: 45.55 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.HInfHor,weaDat.TBlaSky,weaDat.TBlaSkyCom.TDewPoi,weaDat.TBlaSkyCom.calTSky,weaDat.TBlaSkySel.datSou,weaDat.TBlaSkySel.p,weaDat.TDewPoi,weaDat.TDewPoiSel.datSou,weaDat.TDewPoiSel.p,weaDat.TDewPoiSel.y,weaDat.TDryBul,weaDat.TDryBulSel.datSou,weaDat.TDryBulSel.p,weaDat.add30Min.k1,weaDat.add30Min.k2,weaDat.add30Min.u1,weaDat.alt,weaDat.altitude.Altitude,weaDat.altitude.y,weaDat.calTSky,weaDat.ceiHei,weaDat.ceiHeiSel.datSou,weaDat.ceiHeiSel.p,weaDat.chePre.PIn,weaDat.chePre.pAtm,weaDat.cheTemBlaSky.TMax,weaDat.cheTemBlaSky.TMin,weaDat.cheTemDewPoi.TDewPoi,weaDat.cheTemDewPoi.TIn,weaDat.cheTemDewPoi.TMax,weaDat.cheTemDewPoi.TMin,weaDat.cheTemDryBul.TMax,weaDat.cheTemDryBul.TMin,weaDat.computeWetBulbTemperature,weaDat.con30Min.k,weaDat.con30Min.y,weaDat.conOpaSkyCov.k,weaDat.conRelHum.k,weaDat.conTim.canRepeatWeatherFile,weaDat.conTim.lenWea,weaDat.conTim.weaDatEndTim,weaDat.conTim.weaDatStaTim,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTimMin.lenWea,weaDat.conTimMin.weaDatEndTim,weaDat.conTimMin.weaDatStaTim,weaDat.conTotSkyCov.k,weaDat.datRea.columns[10],weaDat.datRea.columns[11],weaDat.datRea.columns[12],weaDat.datRea.columns[13],weaDat.datRea.columns[14],weaDat.datRea.columns[15],weaDat.datRea.columns[16],weaDat.datRea.columns[17],weaDat.datRea.columns[18],weaDat.datRea.columns[19],weaDat.datRea.columns[1],weaDat.datRea.columns[20],weaDat.datRea.columns[21],weaDat.datRea.columns[22],weaDat.datRea.columns[23],weaDat.datRea.columns[24],weaDat.datRea.columns[25],weaDat.datRea.columns[26],weaDat.datRea.columns[2],weaDat.datRea.columns[3],weaDat.datRea.columns[4],weaDat.datRea.columns[5],weaDat.datRea.columns[6],weaDat.datRea.columns[7],weaDat.datRea.columns[8],weaDat.datRea.columns[9],weaDat.datRea.extrapolation,weaDat.datRea.nout,weaDat.datRea.smoothness,weaDat.datRea.tableOnFile,weaDat.datRea.u_max,weaDat.datRea.u_min,weaDat.datRea.verboseExtrapolation,weaDat.datRea.verboseRead,weaDat.datRea30Min.columns[1],weaDat.datRea30Min.columns[2],weaDat.datRea30Min.columns[3],weaDat.datRea30Min.extrapolation,weaDat.datRea30Min.nout,weaDat.datRea30Min.smoothness,weaDat.datRea30Min.tableOnFile,weaDat.datRea30Min.u_max,weaDat.datRea30Min.u_min,weaDat.datRea30Min.verboseExtrapolation,weaDat.datRea30Min.verboseRead,weaDat.horInfRadSel.datSou,weaDat.horInfRadSel.p,weaDat.horInfRadSel.y,weaDat.lat,weaDat.latitude.latitude,weaDat.latitude.y,weaDat.limHorInfRad.u,weaDat.locTim.diff,weaDat.locTim.lon,weaDat.locTim.timZon,weaDat.lon,weaDat.longitude.longitude,weaDat.longitude.y,weaDat.opaSkyCov,weaDat.opaSkyCovSel.datSou,weaDat.opaSkyCovSel.p,weaDat.pAtm,weaDat.pAtmSel.datSou,weaDat.pAtmSel.p,weaDat.pAtmSel.y,weaDat.relHum,weaDat.relHumSel.datSou,weaDat.relHumSel.p,weaDat.souSelRad.datSou,weaDat.timZon,weaDat.timeSpan[1],weaDat.timeSpan[2],weaDat.totSkyCov,weaDat.totSkyCovSel.datSou,weaDat.totSkyCovSel.p,weaDat.weaBus.TDewPoi,weaDat.weaBus.TDryBul,weaDat.weaBus.alt,weaDat.weaBus.lat,weaDat.weaBus.lon,weaDat.weaBus.pAtm,weaDat.winDir,weaDat.winDirSel.datSou,weaDat.winDirSel.p,weaDat.winSpe,weaDat.winSpeSel.datSou,weaDat.winSpeSel.p,weaDat.zenAng.lat