Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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.337/1.337, allocations: 249.4 MB / 256.7 MB, free: 15.8 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.001095/0.001096, allocations: 191.2 kB / 316 MB, free: 7.172 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.632/1.632, allocations: 205.1 MB / 0.5667 GB, free: 23.64 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.0009296/0.0009296, allocations: 90.33 kB / 0.671 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.181e-06, allocations: 0 / 0.7807 GB, free: 464 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6305/0.6306, allocations: 106.3 MB / 0.8846 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.452/6.083, allocations: 2.189 GB / 3.074 GB, free: 328.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/6.083, allocations: 92.89 kB / 3.074 GB, free: 328.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1406/6.224, allocations: 62.88 MB / 3.135 GB, free: 273.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.5e-05/6.224, allocations: 23.94 kB / 3.135 GB, free: 273.7 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002039/6.226, allocations: 1.078 MB / 3.137 GB, free: 272.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/6.226, allocations: 8.031 kB / 3.137 GB, free: 272.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/6.227, allocations: 214.5 kB / 3.137 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/6.228, allocations: 0.6036 MB / 3.137 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/6.228, allocations: 35.98 kB / 3.137 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/6.229, allocations: 48 kB / 3.137 GB, free: 271.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/6.23, allocations: 0.9796 MB / 3.138 GB, free: 270.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/6.231, allocations: 0.7232 MB / 3.139 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/6.231, allocations: 4 kB / 3.139 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/6.231, allocations: 0 / 3.139 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/6.231, allocations: 27.88 kB / 3.139 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/6.234, allocations: 2.279 MB / 3.141 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/6.236, allocations: 0.7289 MB / 3.142 GB, free: 266.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/6.236, allocations: 250.8 kB / 3.142 GB, free: 266.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.548e-05/6.236, allocations: 32.67 kB / 3.142 GB, free: 266.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/6.237, allocations: 390.1 kB / 3.143 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.106e-06/6.237, allocations: 0 / 3.143 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001543/6.239, allocations: 0.6638 MB / 3.143 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/6.239, allocations: 240 kB / 3.144 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/6.239, allocations: 0.4905 MB / 3.144 GB, free: 264.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/6.239, allocations: 29.7 kB / 3.144 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/6.239, allocations: 288.2 kB / 3.144 GB, free: 264.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/6.24, allocations: 232.5 kB / 3.145 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/6.24, allocations: 0 / 3.145 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000103/6.24, allocations: 374.8 kB / 3.145 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/6.24, allocations: 197.3 kB / 3.145 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/6.24, allocations: 302.4 kB / 3.145 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/6.241, allocations: 243 kB / 3.146 GB, free: 263 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.241, allocations: 0 / 3.146 GB, free: 263 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001362/6.242, allocations: 0.6678 MB / 3.146 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/6.242, allocations: 4 kB / 3.146 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/6.242, allocations: 0 / 3.146 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/6.243, allocations: 84.84 kB / 3.146 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/6.243, allocations: 139.8 kB / 3.147 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/6.245, allocations: 1.468 MB / 3.148 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/6.246, allocations: 63.61 kB / 3.148 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/6.246, allocations: 32.16 kB / 3.148 GB, free: 260.4 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.0001594/6.246, allocations: 123 kB / 3.148 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/6.246, allocations: 71.06 kB / 3.148 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/6.248, allocations: 0.9479 MB / 3.149 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/6.248, allocations: 8 kB / 3.149 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/6.248, allocations: 0 / 3.149 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/6.248, allocations: 7.984 kB / 3.149 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/6.249, allocations: 0.7672 MB / 3.15 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/6.249, allocations: 4 kB / 3.15 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/6.25, allocations: 147.8 kB / 3.15 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/6.25, allocations: 80.78 kB / 3.15 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/6.25, allocations: 19.92 kB / 3.15 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/6.252, allocations: 1.492 MB / 3.152 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/6.252, allocations: 0 / 3.152 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001342/6.253, allocations: 0.7685 MB / 3.152 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/6.254, allocations: 275.9 kB / 3.153 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/6.254, allocations: 7.891 kB / 3.153 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/6.254, allocations: 55.95 kB / 3.153 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/6.254, allocations: 52.69 kB / 3.153 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/6.254, allocations: 31.98 kB / 3.153 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004394/6.255, allocations: 402.9 kB / 3.153 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001066/6.256, allocations: 307 kB / 3.153 GB, free: 254.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 (85): * Single equations (assignments): 82 * 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.001565/6.257, allocations: 1.016 MB / 3.154 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001097/6.259, allocations: 0.6586 MB / 3.155 GB, free: 253 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.259, allocations: 0 / 3.155 GB, free: 253 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/6.259, allocations: 464.6 kB / 3.156 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009708/6.26, allocations: 206 kB / 3.156 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/6.264, allocations: 1.328 MB / 3.157 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/6.264, allocations: 1.123 MB / 3.158 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/6.264, allocations: 0 / 3.158 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02786/6.292, allocations: 16.79 MB / 3.174 GB, free: 233.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,relAirMas.relAirMas Variables in the result:relAirMas.relAirMas,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