Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009427/0.0009427, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9037/0.9037, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.043/2.043, allocations: 429.5 MB / 0.6733 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.605e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00556/0.005586, allocations: 5.062 MB / 0.8831 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1273/0.1329, allocations: 146.7 MB / 1.026 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.1338, allocations: 23.81 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1344, allocations: 206 kB / 1.027 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.136, allocations: 0.6056 MB / 1.027 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1377, allocations: 0.8959 MB / 1.028 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1391, allocations: 1.549 MB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.1398, allocations: 456.6 kB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1409, allocations: 0.8458 MB / 1.031 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.1415, allocations: 418.7 kB / 1.031 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.1417, allocations: 120 kB / 1.031 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009114/0.1426, allocations: 0.5071 MB / 1.032 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1428, allocations: 326.9 kB / 1.032 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.1432, allocations: 410.9 kB / 1.032 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.1449, allocations: 1.339 MB / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1449, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1449, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.1449, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001885/0.1468, allocations: 1.585 MB / 1.035 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1468, allocations: 12.03 kB / 1.035 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.1498, allocations: 1.034 MB / 1.036 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.1507, allocations: 0.7656 MB / 1.037 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.1508, allocations: 86.09 kB / 1.037 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1509, allocations: 100 kB / 1.037 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.1526, allocations: 1.377 MB / 1.039 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.1526, allocations: 7.875 kB / 1.039 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.1527, allocations: 44 kB / 1.039 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1527, allocations: 24 kB / 1.039 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.154, allocations: 1.182 MB / 1.04 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004439/0.1584, allocations: 4.284 MB / 1.044 GB, free: 11.02 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.1598, allocations: 0.8657 MB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.1603, allocations: 409.3 kB / 1.045 GB, free: 9.742 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.1603, allocations: 32.97 kB / 1.045 GB, free: 9.711 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/0.161, allocations: 0.7253 MB / 1.046 GB, free: 8.938 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 3.176e-06/0.161, allocations: 0 / 1.046 GB, free: 8.938 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.002139/0.1632, allocations: 1.347 MB / 1.047 GB, free: 7.586 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.1633, allocations: 200.9 kB / 1.048 GB, free: 7.348 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.1637, allocations: 0.5737 MB / 1.048 GB, free: 6.762 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.1638, allocations: 49.7 kB / 1.048 GB, free: 6.707 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.1641, allocations: 484 kB / 1.049 GB, free: 6.227 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.1642, allocations: 301.5 kB / 1.049 GB, free: 5.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.1645, allocations: 196.2 kB / 1.049 GB, free: 5.727 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1646, allocations: 0.5702 MB / 1.05 GB, free: 5.145 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.1651, allocations: 341.8 kB / 1.05 GB, free: 4.812 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.1656, allocations: 0.5719 MB / 1.051 GB, free: 4.188 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.1663, allocations: 0.585 MB / 1.051 GB, free: 3.586 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1663, allocations: 0 / 1.051 GB, free: 3.586 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001381/0.1677, allocations: 0.9769 MB / 1.052 GB, free: 2.602 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1677, allocations: 4 kB / 1.052 GB, free: 2.598 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1677, allocations: 0 / 1.052 GB, free: 2.598 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.1682, allocations: 131.7 kB / 1.052 GB, free: 2.465 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.1689, allocations: 295.6 kB / 1.052 GB, free: 2.176 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1702, allocations: 1.906 MB / 1.054 GB, free: 144 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.426/0.5962, allocations: 184.9 kB / 1.054 GB, free: 73.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.5963, allocations: 44.58 kB / 1.055 GB, free: 73.83 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003882/0.5967, allocations: 213.6 kB / 1.055 GB, free: 73.66 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5969, allocations: 119.6 kB / 1.055 GB, free: 73.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.5986, allocations: 1.207 MB / 1.056 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.5986, allocations: 11.72 kB / 1.056 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5986, allocations: 0 / 1.056 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.5986, allocations: 4.141 kB / 1.056 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.6013, allocations: 2.793 MB / 1.059 GB, free: 72.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6013, allocations: 0.9062 kB / 1.059 GB, free: 72.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.602, allocations: 257.4 kB / 1.059 GB, free: 72.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/0.6023, allocations: 117.6 kB / 1.059 GB, free: 72.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.6024, allocations: 30.08 kB / 1.059 GB, free: 72.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009532/0.6033, allocations: 1.925 MB / 1.061 GB, free: 70.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6033, allocations: 0 / 1.061 GB, free: 70.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.6047, allocations: 1.182 MB / 1.062 GB, free: 70.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.605, allocations: 223.1 kB / 1.062 GB, free: 70.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.6051, allocations: 23.19 kB / 1.062 GB, free: 70.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.6056, allocations: 147 kB / 1.063 GB, free: 70.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6057, allocations: 71.77 kB / 1.063 GB, free: 70.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.6058, allocations: 38 kB / 1.063 GB, free: 70.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002647/0.606, allocations: 384.8 kB / 1.063 GB, free: 70.06 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.606, allocations: 0.875 kB / 1.063 GB, free: 70.06 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007498/0.6068, allocations: 392.8 kB / 1.063 GB, free: 70.03 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.608, allocations: 0.6308 MB / 1.064 GB, free: 69.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.6093, allocations: 1.086 MB / 1.065 GB, free: 69.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6093, allocations: 0.9062 kB / 1.065 GB, free: 69.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.61, allocations: 0.6884 MB / 1.066 GB, free: 69.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.6107, allocations: 345 kB / 1.066 GB, free: 69.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.6132, allocations: 1.787 MB / 1.068 GB, free: 68.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.6133, allocations: 205 kB / 1.068 GB, free: 68.66 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007089/0.614, allocations: 303.1 kB / 1.068 GB, free: 68.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.6143, allocations: 123 kB / 1.068 GB, free: 68.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.543e-06/0.6143, allocations: 1 kB / 1.068 GB, free: 68.61 MB / 1.01 GB Notification: Performance of Templates: time 0.02444/0.6388, allocations: 19.35 MB / 1.087 GB, free: 66.71 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.334986738860607]