Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.895 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.001533/0.001532, allocations: 184.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 1.821/1.821, 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.0009752/0.000975, allocations: 92.67 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.919e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.827/7.083, allocations: 2.191 GB / 3.076 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/7.083, allocations: 83.95 kB / 3.076 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1383/7.221, allocations: 65.66 MB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.255e-06/7.221, allocations: 0 / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.301e-05/7.222, allocations: 28 kB / 3.14 GB, free: 150.3 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00187/7.223, allocations: 1.083 MB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/7.223, allocations: 15.97 kB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009799/7.224, allocations: 210.5 kB / 3.142 GB, free: 149 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/7.225, allocations: 0.627 MB / 3.142 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/7.225, allocations: 28 kB / 3.142 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/7.225, allocations: 48 kB / 3.142 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001266/7.227, allocations: 1.023 MB / 3.143 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/7.228, allocations: 0.7701 MB / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/7.228, allocations: 0 / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/7.228, allocations: 3.953 kB / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/7.228, allocations: 24 kB / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/7.231, allocations: 2.387 MB / 3.146 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000812/7.232, allocations: 0.6499 MB / 3.147 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/7.232, allocations: 247.2 kB / 3.147 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/7.233, allocations: 466.4 kB / 3.148 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/7.233, allocations: 400.9 kB / 3.148 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/7.233, allocations: 4 kB / 3.148 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.003698/7.237, allocations: 1.117 MB / 3.149 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/7.237, allocations: 252 kB / 3.149 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/7.238, allocations: 0.4944 MB / 3.15 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/7.238, allocations: 25.7 kB / 3.15 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/7.238, allocations: 404 kB / 3.15 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/7.238, allocations: 232.5 kB / 3.15 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/7.238, allocations: 4 kB / 3.15 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001107/7.238, allocations: 370.8 kB / 3.151 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/7.239, allocations: 193.5 kB / 3.151 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/7.239, allocations: 291.5 kB / 3.151 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/7.242, allocations: 0.707 MB / 3.152 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/7.242, allocations: 0 / 3.152 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003544/7.245, allocations: 1.128 MB / 3.153 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/7.245, allocations: 5.875 kB / 3.153 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/7.245, allocations: 0 / 3.153 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/7.246, allocations: 84.84 kB / 3.153 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/7.246, allocations: 143.8 kB / 3.153 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/7.248, allocations: 1.453 MB / 3.155 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/7.249, allocations: 63.56 kB / 3.155 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/7.249, allocations: 27.98 kB / 3.155 GB, free: 134.8 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 (75): * Single equations (assignments): 74 * 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.0001797/7.249, allocations: 112.9 kB / 3.155 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/7.249, allocations: 83.09 kB / 3.155 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/7.253, allocations: 1.379 MB / 3.156 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/7.253, allocations: 8 kB / 3.156 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/7.253, allocations: 4 kB / 3.156 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/7.253, allocations: 3.984 kB / 3.156 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/7.254, allocations: 0.7596 MB / 3.157 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/7.254, allocations: 0 / 3.157 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/7.255, allocations: 147.8 kB / 3.157 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/7.255, allocations: 88.8 kB / 3.157 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/7.255, allocations: 15.98 kB / 3.157 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/7.256, allocations: 1.473 MB / 3.159 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/7.256, allocations: 0 / 3.159 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/7.26, allocations: 1.23 MB / 3.16 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/7.26, allocations: 271.9 kB / 3.16 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/7.26, allocations: 4 kB / 3.16 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/7.261, allocations: 55.94 kB / 3.16 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/7.261, allocations: 56.69 kB / 3.16 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/7.261, allocations: 31.98 kB / 3.16 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004714/7.261, allocations: 410.9 kB / 3.161 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.261, allocations: 0 / 3.161 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001229/7.263, allocations: 335 kB / 3.161 GB, free: 128.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 (84): * Single equations (assignments): 81 * 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.002199/7.265, allocations: 1.075 MB / 3.162 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001118/7.266, allocations: 0.6511 MB / 3.163 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/7.266, allocations: 0 / 3.163 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/7.267, allocations: 444.7 kB / 3.163 GB, free: 126 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/7.268, allocations: 222 kB / 3.163 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/7.271, allocations: 1.317 MB / 3.165 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/7.271, allocations: 1.039 MB / 3.166 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008016/7.272, allocations: 257.6 kB / 3.166 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/7.272, allocations: 95.38 kB / 3.166 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/7.272, allocations: 0 / 3.166 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.0238/7.296, allocations: 15.59 MB / 3.181 GB, free: 107.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyCle.skyCle Variables in the result:skyCle.skyCle,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.zen.lat