Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [: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.481/1.481, allocations: 249.4 MB / 256.7 MB, free: 7.07 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.00123/0.001231, allocations: 184.7 kB / 316 MB, free: 3.547 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.617/1.617, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.001177/0.001176, allocations: 99.31 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/1.023e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.114/5.393, allocations: 2.192 GB / 3.077 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/5.393, allocations: 95.94 kB / 3.077 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1433/5.536, allocations: 68.5 MB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.708e-05/5.536, allocations: 23.98 kB / 3.144 GB, free: 142.4 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002127/5.539, allocations: 1.258 MB / 3.145 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/5.539, allocations: 8.031 kB / 3.145 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004402/5.543, allocations: 0.7436 MB / 3.146 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/5.544, allocations: 0.6658 MB / 3.146 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/5.544, allocations: 36 kB / 3.146 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/5.544, allocations: 60 kB / 3.146 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001997/5.546, allocations: 1.401 MB / 3.148 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/5.548, allocations: 1.005 MB / 3.149 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/5.548, allocations: 0 / 3.149 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/5.548, allocations: 0 / 3.149 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/5.548, allocations: 28 kB / 3.149 GB, free: 137 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/5.553, allocations: 2.963 MB / 3.152 GB, free: 134 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/5.554, allocations: 0.9056 MB / 3.153 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/5.555, allocations: 421.2 kB / 3.153 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/5.556, allocations: 486.2 kB / 3.153 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007724/5.557, allocations: 0.561 MB / 3.154 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 3.326e-06/5.557, allocations: 0 / 3.154 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.002303/5.559, allocations: 0.9835 MB / 3.155 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/5.559, allocations: 244.3 kB / 3.155 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/5.56, allocations: 0.5023 MB / 3.156 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/5.56, allocations: 25.7 kB / 3.156 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/5.56, allocations: 332.4 kB / 3.156 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/5.56, allocations: 319.2 kB / 3.156 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/5.56, allocations: 0 / 3.156 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001027/5.56, allocations: 382.8 kB / 3.157 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/5.561, allocations: 314 kB / 3.157 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/5.561, allocations: 434.3 kB / 3.157 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/5.562, allocations: 418.7 kB / 3.158 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/5.562, allocations: 0 / 3.158 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002141/5.564, allocations: 0.9952 MB / 3.159 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/5.564, allocations: 7.938 kB / 3.159 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.564, allocations: 0 / 3.159 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/5.565, allocations: 88.86 kB / 3.159 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/5.566, allocations: 239.6 kB / 3.159 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/5.568, allocations: 1.457 MB / 3.16 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/5.569, allocations: 127.4 kB / 3.161 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/5.57, allocations: 39.97 kB / 3.161 GB, free: 124.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0002127/5.57, allocations: 120.8 kB / 3.161 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/5.57, allocations: 78.97 kB / 3.161 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/5.573, allocations: 1.364 MB / 3.162 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/5.573, allocations: 8 kB / 3.162 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/5.573, allocations: 0 / 3.162 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/5.573, allocations: 7.984 kB / 3.162 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/5.574, allocations: 0.9596 MB / 3.163 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/5.574, allocations: 0 / 3.163 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/5.575, allocations: 251.6 kB / 3.163 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/5.576, allocations: 84.78 kB / 3.163 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/5.576, allocations: 23.91 kB / 3.163 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/5.578, allocations: 1.488 MB / 3.165 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/5.578, allocations: 0 / 3.165 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002135/5.58, allocations: 1.098 MB / 3.166 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/5.58, allocations: 319.5 kB / 3.166 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/5.58, allocations: 0 / 3.166 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/5.582, allocations: 107.9 kB / 3.166 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/5.582, allocations: 68.89 kB / 3.166 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/5.582, allocations: 35.98 kB / 3.166 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000436/5.582, allocations: 418.9 kB / 3.167 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001166/5.583, allocations: 370.9 kB / 3.167 GB, free: 117.4 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 (111): * Single equations (assignments): 108 * 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.001628/5.585, allocations: 1.027 MB / 3.168 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001501/5.587, allocations: 0.9596 MB / 3.169 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/5.587, allocations: 4 kB / 3.169 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/5.587, allocations: 0.6145 MB / 3.17 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/5.588, allocations: 217 kB / 3.17 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/5.592, allocations: 1.588 MB / 3.172 GB, free: 113 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/5.593, allocations: 1.203 MB / 3.173 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/5.593, allocations: 0 / 3.173 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.03046/5.624, allocations: 20.89 MB / 3.193 GB, free: 91 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,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