Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001208/0.001208, allocations: 173 kB / 326.5 MB, free: 2.27 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.043/2.043, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009054/0.0009054, allocations: 89.98 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 9 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.457/5.719, allocations: 2.19 GB / 3.09 GB, free: 30.49 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/5.719, allocations: 92.5 kB / 3.09 GB, free: 30.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7432/6.462, allocations: 63.21 MB / 3.152 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.306e-06/6.462, allocations: 0 / 3.152 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000172/6.463, allocations: 33.89 kB / 3.152 GB, free: 311.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004137/6.467, allocations: 1.125 MB / 3.153 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/6.467, allocations: 6.688 kB / 3.153 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/6.469, allocations: 186.9 kB / 3.153 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/6.471, allocations: 0.6082 MB / 3.154 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/6.471, allocations: 57.94 kB / 3.154 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/6.471, allocations: 78.78 kB / 3.154 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/6.474, allocations: 0.8367 MB / 3.154 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/6.474, allocations: 3.75 kB / 3.154 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/6.474, allocations: 34.91 kB / 3.154 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/6.474, allocations: 19.72 kB / 3.155 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/6.477, allocations: 1.056 MB / 3.156 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005753/6.483, allocations: 2.385 MB / 3.158 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/6.485, allocations: 0.7345 MB / 3.159 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/6.485, allocations: 29.05 kB / 3.159 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/6.486, allocations: 430.6 kB / 3.159 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 4.439e-06/6.486, allocations: 0 / 3.159 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.004656/6.491, allocations: 1.097 MB / 3.16 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/6.491, allocations: 243.2 kB / 3.16 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/6.492, allocations: 0.5648 MB / 3.161 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/6.492, allocations: 40.7 kB / 3.161 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/6.493, allocations: 363.8 kB / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/6.493, allocations: 224.4 kB / 3.161 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/6.493, allocations: 13.78 kB / 3.161 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001381/6.493, allocations: 381.5 kB / 3.162 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/6.494, allocations: 220.8 kB / 3.162 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/6.495, allocations: 330 kB / 3.162 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/6.495, allocations: 260 kB / 3.163 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/6.495, allocations: 0 / 3.163 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0027/6.498, allocations: 0.7301 MB / 3.163 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/6.498, allocations: 6.062 kB / 3.163 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/6.498, allocations: 3.969 kB / 3.163 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009228/6.499, allocations: 80.25 kB / 3.163 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/6.5, allocations: 135 kB / 3.164 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/6.503, allocations: 1.556 MB / 3.165 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/6.504, allocations: 80.45 kB / 3.165 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/6.504, allocations: 30.41 kB / 3.165 GB, free: 307 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006924/6.505, allocations: 254.3 kB / 3.165 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/6.505, allocations: 72.56 kB / 3.165 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/6.508, allocations: 1.004 MB / 3.166 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/6.508, allocations: 7.781 kB / 3.166 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/6.508, allocations: 0 / 3.166 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/6.508, allocations: 3.703 kB / 3.166 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/6.51, allocations: 0.8661 MB / 3.167 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/6.51, allocations: 0 / 3.167 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009122/6.511, allocations: 144.5 kB / 3.167 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008376/6.511, allocations: 84.45 kB / 3.168 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/6.511, allocations: 22.59 kB / 3.168 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/6.514, allocations: 1.574 MB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/6.514, allocations: 64 / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/6.517, allocations: 0.8468 MB / 3.17 GB, free: 305 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/6.517, allocations: 280.5 kB / 3.17 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/6.518, allocations: 17.59 kB / 3.17 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/6.518, allocations: 64.28 kB / 3.17 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/6.519, allocations: 58.14 kB / 3.17 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-05/6.519, allocations: 29.42 kB / 3.17 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009201/6.52, allocations: 476.7 kB / 3.171 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/6.52, allocations: 3.844 kB / 3.171 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001572/6.521, allocations: 316.6 kB / 3.171 GB, free: 304.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002653/6.524, allocations: 1.025 MB / 3.172 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002192/6.526, allocations: 0.721 MB / 3.173 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/6.526, allocations: 2.812 kB / 3.173 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/6.528, allocations: 490.4 kB / 3.173 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/6.529, allocations: 241.6 kB / 3.174 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/6.535, allocations: 2.04 MB / 3.176 GB, free: 302.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/6.536, allocations: 1.006 MB / 3.176 GB, free: 301.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001384/6.537, allocations: 252.9 kB / 3.177 GB, free: 301.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/6.537, allocations: 95.48 kB / 3.177 GB, free: 301.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.282e-06/6.537, allocations: 0 / 3.177 GB, free: 301.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.03136/6.569, allocations: 19.92 MB / 3.196 GB, free: 284.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,zen.y Variables in the result:time,weaDat.HInfHor,weaDat.TBlaSky,weaDat.TBlaSkyCom.calTSky,weaDat.TBlaSkySel.datSou,weaDat.TBlaSkySel.p,weaDat.TDewPoi,weaDat.TDewPoiSel.datSou,weaDat.TDewPoiSel.p,weaDat.TDryBul,weaDat.TDryBulSel.datSou,weaDat.TDryBulSel.p,weaDat.add30Min.k1,weaDat.add30Min.k2,weaDat.add30Min.u1,weaDat.calTSky,weaDat.ceiHei,weaDat.ceiHeiSel.datSou,weaDat.ceiHeiSel.p,weaDat.chePre.PIn,weaDat.chePre.pAtm,weaDat.cheTemBlaSky.TMax,weaDat.cheTemBlaSky.TMin,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.lat,weaDat.latitude.latitude,weaDat.latitude.y,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.tWetBul_TDryBulXi.approximateWetBulb,weaDat.tWetBul_TDryBulXi.p,weaDat.timZon,weaDat.timeSpan[1],weaDat.timeSpan[2],weaDat.totSkyCov,weaDat.totSkyCovSel.datSou,weaDat.totSkyCovSel.p,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,zen.lat,zen.weaBus.lat,zen.weaBus.lon,zen.weaBus.pAtm,zen.y,zen.zen.lat