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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001229/0.001229, allocations: 193.2 kB / 316 MB, free: 3.484 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.721/1.721, allocations: 205.1 MB / 0.5667 GB, free: 15.57 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.001259/0.001259, allocations: 79.42 kB / 0.671 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.683e-06, allocations: 0 / 0.7807 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 106.3 MB / 0.8845 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/5.146, allocations: 2.19 GB / 3.075 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/5.147, allocations: 83.95 kB / 3.075 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1309/5.278, allocations: 62.52 MB / 3.136 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.573e-05/5.278, allocations: 27.94 kB / 3.136 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001714/5.279, allocations: 1.065 MB / 3.137 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/5.279, allocations: 12.03 kB / 3.137 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008884/5.28, allocations: 190.6 kB / 3.137 GB, free: 149 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/5.281, allocations: 0.6115 MB / 3.138 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/5.281, allocations: 24 kB / 3.138 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/5.281, allocations: 47.98 kB / 3.138 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/5.283, allocations: 0.9679 MB / 3.139 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/5.284, allocations: 0.6999 MB / 3.139 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/5.284, allocations: 0 / 3.139 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/5.284, allocations: 8 kB / 3.139 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/5.284, allocations: 16 kB / 3.139 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/5.287, allocations: 2.251 MB / 3.141 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/5.288, allocations: 0.6409 MB / 3.142 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/5.288, allocations: 250.7 kB / 3.142 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/5.288, allocations: 28.69 kB / 3.142 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/5.288, allocations: 381.9 kB / 3.143 GB, free: 143 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 1.954e-06/5.288, allocations: 0 / 3.143 GB, free: 143 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001466/5.29, allocations: 0.6327 MB / 3.143 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/5.29, allocations: 240 kB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/5.29, allocations: 0.4983 MB / 3.144 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/5.291, allocations: 25.7 kB / 3.144 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/5.291, allocations: 292.2 kB / 3.144 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/5.291, allocations: 220.7 kB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/5.291, allocations: 0 / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/5.291, allocations: 374.8 kB / 3.145 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/5.291, allocations: 189.3 kB / 3.145 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/5.292, allocations: 294.4 kB / 3.145 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/5.292, allocations: 235.1 kB / 3.146 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.292, allocations: 0 / 3.146 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001296/5.293, allocations: 0.6482 MB / 3.146 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/5.293, allocations: 4 kB / 3.146 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/5.293, allocations: 3.938 kB / 3.146 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/5.294, allocations: 84.84 kB / 3.146 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/5.294, allocations: 135.8 kB / 3.146 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/5.296, allocations: 1.469 MB / 3.148 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/5.297, allocations: 63.61 kB / 3.148 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/5.297, allocations: 31.97 kB / 3.148 GB, free: 137.3 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.0001419/5.297, allocations: 119.4 kB / 3.148 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/5.297, allocations: 67.16 kB / 3.148 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/5.299, allocations: 0.9245 MB / 3.149 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/5.299, allocations: 8 kB / 3.149 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/5.299, allocations: 0 / 3.149 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/5.299, allocations: 3.984 kB / 3.149 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007984/5.3, allocations: 0.7511 MB / 3.15 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/5.3, allocations: 4 kB / 3.15 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/5.3, allocations: 139.7 kB / 3.15 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005094/5.301, allocations: 84.78 kB / 3.15 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/5.301, allocations: 11.98 kB / 3.15 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/5.302, allocations: 1.496 MB / 3.152 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.302, allocations: 0 / 3.152 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001298/5.304, allocations: 0.7373 MB / 3.152 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/5.304, allocations: 279.8 kB / 3.152 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/5.304, allocations: 3.984 kB / 3.152 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/5.305, allocations: 51.95 kB / 3.153 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/5.305, allocations: 56.61 kB / 3.153 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/5.305, allocations: 32.05 kB / 3.153 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004111/5.305, allocations: 406.9 kB / 3.153 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008816/5.306, allocations: 299.1 kB / 3.153 GB, free: 131.6 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.001488/5.308, allocations: 1 MB / 3.154 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001036/5.309, allocations: 0.6429 MB / 3.155 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.309, allocations: 0 / 3.155 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/5.309, allocations: 440.6 kB / 3.155 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/5.31, allocations: 205.2 kB / 3.156 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/5.313, allocations: 1.315 MB / 3.157 GB, free: 128 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/5.314, allocations: 1.112 MB / 3.158 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/5.314, allocations: 0 / 3.158 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02273/5.337, allocations: 16.35 MB / 3.174 GB, free: 110.6 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