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.512/1.512, allocations: 249.5 MB / 257 MB, free: 6.93 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.001311/0.001311, allocations: 187.6 kB / 316.3 MB, free: 3.242 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.869/1.869, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008657/0.0008659, allocations: 100.5 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.152e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.741/7.004, allocations: 2.19 GB / 3.075 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/7.004, allocations: 87.95 kB / 3.075 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1248/7.129, allocations: 61.21 MB / 3.135 GB, free: 156 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.954e-06/7.129, allocations: 11.88 kB / 3.135 GB, free: 156 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.705e-05/7.129, allocations: 24 kB / 3.135 GB, free: 156 MB / 0.8698 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.001472/7.131, allocations: 1.027 MB / 3.136 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/7.131, allocations: 12.02 kB / 3.136 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/7.132, allocations: 178.7 kB / 3.136 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/7.132, allocations: 0.6075 MB / 3.137 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/7.132, allocations: 24 kB / 3.137 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/7.132, allocations: 44 kB / 3.137 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/7.134, allocations: 0.964 MB / 3.138 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/7.134, allocations: 0.7037 MB / 3.138 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/7.135, allocations: 0 / 3.138 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/7.135, allocations: 3.953 kB / 3.138 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/7.135, allocations: 20 kB / 3.139 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/7.137, allocations: 2.239 MB / 3.141 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/7.138, allocations: 0.6534 MB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/7.138, allocations: 238.5 kB / 3.142 GB, free: 149 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/7.138, allocations: 28.59 kB / 3.142 GB, free: 149 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/7.139, allocations: 384.7 kB / 3.142 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 1.913e-06/7.139, allocations: 0 / 3.142 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.0013/7.14, allocations: 0.6366 MB / 3.143 GB, free: 148 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/7.14, allocations: 243.8 kB / 3.143 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/7.141, allocations: 0.4944 MB / 3.143 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/7.141, allocations: 29.7 kB / 3.143 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/7.141, allocations: 372.2 kB / 3.144 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/7.141, allocations: 216.7 kB / 3.144 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/7.141, allocations: 0 / 3.144 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/7.141, allocations: 374.8 kB / 3.144 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/7.141, allocations: 189.5 kB / 3.144 GB, free: 146 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/7.142, allocations: 291.5 kB / 3.145 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/7.142, allocations: 232.4 kB / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/7.142, allocations: 0 / 3.145 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001147/7.143, allocations: 0.6408 MB / 3.146 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/7.143, allocations: 4 kB / 3.146 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/7.143, allocations: 0 / 3.146 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/7.144, allocations: 92.78 kB / 3.146 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/7.144, allocations: 131.7 kB / 3.146 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/7.146, allocations: 1.481 MB / 3.147 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/7.146, allocations: 67.53 kB / 3.147 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/7.146, allocations: 23.98 kB / 3.147 GB, free: 142.9 MB / 0.8698 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 () * 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.0001335/7.146, allocations: 115.7 kB / 3.147 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/7.146, allocations: 71.16 kB / 3.147 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/7.148, allocations: 0.8986 MB / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/7.148, allocations: 8 kB / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/7.148, allocations: 0 / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/7.148, allocations: 3.984 kB / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/7.149, allocations: 0.7474 MB / 3.149 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/7.149, allocations: 0 / 3.149 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/7.149, allocations: 143.8 kB / 3.149 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/7.15, allocations: 80.78 kB / 3.149 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/7.15, allocations: 15.98 kB / 3.149 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/7.151, allocations: 1.493 MB / 3.151 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/7.151, allocations: 64 / 3.151 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/7.152, allocations: 0.7543 MB / 3.152 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/7.153, allocations: 267.8 kB / 3.152 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/7.153, allocations: 7.984 kB / 3.152 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/7.153, allocations: 47.95 kB / 3.152 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/7.153, allocations: 60.7 kB / 3.152 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/7.153, allocations: 31.97 kB / 3.152 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003518/7.154, allocations: 406.9 kB / 3.152 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/7.154, allocations: 0 / 3.152 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000817/7.154, allocations: 299.1 kB / 3.153 GB, free: 137.2 MB / 0.8698 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) * 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.001533/7.156, allocations: 1.038 MB / 3.154 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009552/7.157, allocations: 0.6355 MB / 3.154 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/7.157, allocations: 4 kB / 3.154 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/7.158, allocations: 440.7 kB / 3.155 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/7.159, allocations: 217.3 kB / 3.155 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/7.161, allocations: 1.254 MB / 3.156 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/7.162, allocations: 1.015 MB / 3.157 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007452/7.162, allocations: 257.6 kB / 3.157 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/7.163, allocations: 95.39 kB / 3.157 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/7.163, allocations: 3.938 kB / 3.157 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02121/7.184, allocations: 15.16 MB / 3.172 GB, free: 117.2 MB / 0.8698 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.calTSky,weaDat.ceiHei,weaDat.ceiHeiSel.datSou,weaDat.ceiHeiSel.p,weaDat.cheTemBlaSky.TMax,weaDat.cheTemBlaSky.TMin,weaDat.cheTemDewPoi.TMax,weaDat.cheTemDewPoi.TMin,weaDat.cheTemDryBul.TMax,weaDat.cheTemDryBul.TMin,weaDat.computeWetBulbTemperature,weaDat.con30Min.k,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.locTim.diff,weaDat.locTim.lon,weaDat.locTim.timZon,weaDat.lon,weaDat.longitude.longitude,weaDat.opaSkyCov,weaDat.opaSkyCovSel.datSou,weaDat.opaSkyCovSel.p,weaDat.pAtm,weaDat.pAtmSel.datSou,weaDat.pAtmSel.p,weaDat.relHum,weaDat.relHumSel.datSou,weaDat.relHumSel.p,weaDat.souSelRad.datSou,weaDat.tWetBul_TDryBulXi.approximateWetBulb,weaDat.timZon,weaDat.timeSpan[1],weaDat.timeSpan[2],weaDat.totSkyCov,weaDat.totSkyCovSel.datSou,weaDat.totSkyCovSel.p,weaDat.winDir,weaDat.winDirSel.datSou,weaDat.winDirSel.p,weaDat.winSpe,weaDat.winSpeSel.datSou,weaDat.winSpeSel.p,weaDat.zenAng.lat,zen.lat,zen.y,zen.zen.lat