Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.0008548/0.0008548, allocations: 93.06 kB / 19.65 MB, free: 284 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.001009/0.001009, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9597/0.9597, 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.102/2.102, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.771e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00543/0.005457, allocations: 5.063 MB / 0.8831 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.1342, allocations: 146.6 MB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007388/0.1349, allocations: 27.81 kB / 1.026 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.1355, allocations: 206 kB / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.1367, allocations: 0.594 MB / 1.027 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1381, allocations: 0.8918 MB / 1.028 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1391, allocations: 1.545 MB / 1.029 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.1397, allocations: 462.3 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.1403, allocations: 0.8147 MB / 1.031 GB, free: 9.582 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1407, allocations: 454.7 kB / 1.031 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1409, allocations: 136 kB / 1.031 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.1415, allocations: 0.5033 MB / 1.032 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1417, allocations: 338.8 kB / 1.032 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.142, allocations: 438.9 kB / 1.032 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.1432, allocations: 1.358 MB / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1433, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1433, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.1433, 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001629/0.1449, allocations: 1.612 MB / 1.035 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1449, allocations: 8.031 kB / 1.035 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.1461, allocations: 451.3 kB / 1.036 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009237/0.1471, allocations: 0.7395 MB / 1.037 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.1471, allocations: 86.11 kB / 1.037 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.1472, allocations: 107.9 kB / 1.037 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1483, allocations: 1.13 MB / 1.038 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1483, allocations: 0 / 1.038 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.1484, allocations: 36 kB / 1.038 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1484, allocations: 24 kB / 1.038 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/0.1494, allocations: 0.8622 MB / 1.039 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.1519, allocations: 2.436 MB / 1.041 GB, free: 14.65 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.153, allocations: 0.6172 MB / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.1533, allocations: 206.5 kB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-05/0.1534, allocations: 36.97 kB / 1.042 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.1539, allocations: 0.5262 MB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 1.833e-06/0.1539, allocations: 3.938 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.001671/0.1556, allocations: 0.9172 MB / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.1556, allocations: 196.9 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.1561, allocations: 0.5854 MB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.1561, allocations: 49.7 kB / 1.044 GB, free: 11.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.1564, allocations: 484 kB / 1.045 GB, free: 10.92 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.1565, allocations: 313.3 kB / 1.045 GB, free: 10.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.1567, allocations: 188.2 kB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1569, allocations: 0.5625 MB / 1.046 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.1571, allocations: 169.9 kB / 1.046 GB, free: 9.676 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.1575, allocations: 405.8 kB / 1.046 GB, free: 9.227 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.158, allocations: 431.1 kB / 1.047 GB, free: 8.793 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.158, allocations: 4.062 kB / 1.047 GB, free: 8.789 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001057/0.1591, allocations: 0.7309 MB / 1.047 GB, free: 8.047 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1591, allocations: 8 kB / 1.047 GB, free: 8.039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1591, allocations: 0 / 1.047 GB, free: 8.039 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.1596, allocations: 127.7 kB / 1.047 GB, free: 7.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.16, allocations: 203.6 kB / 1.048 GB, free: 7.711 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1613, allocations: 1.898 MB / 1.05 GB, free: 5.688 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1616, allocations: 91.52 kB / 1.05 GB, free: 5.598 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.1617, allocations: 39.97 kB / 1.05 GB, free: 5.559 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 (111): * Single equations (assignments): 110 * 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.0002078/0.1619, allocations: 215 kB / 1.05 GB, free: 5.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.162, allocations: 127.4 kB / 1.05 GB, free: 5.215 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.1633, allocations: 0.9046 MB / 1.051 GB, free: 4.289 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1633, allocations: 8 kB / 1.051 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1633, allocations: 0 / 1.051 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1634, allocations: 7.969 kB / 1.051 GB, free: 4.273 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.1653, allocations: 1.771 MB / 1.053 GB, free: 2.441 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1653, allocations: 0 / 1.053 GB, free: 2.441 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.1657, allocations: 163.7 kB / 1.053 GB, free: 2.281 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.166, allocations: 123.6 kB / 1.053 GB, free: 2.156 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.166, allocations: 23.98 kB / 1.053 GB, free: 2.133 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1671, allocations: 1.914 MB / 1.055 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1671, allocations: 7.922 kB / 1.055 GB, free: 84 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4685/0.6356, allocations: 0.9301 MB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.6359, allocations: 209.6 kB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.636, allocations: 26.17 kB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.6363, allocations: 57.45 kB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6365, allocations: 76.42 kB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.6365, allocations: 40.47 kB / 1.056 GB, free: 73.41 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003128/0.6368, allocations: 390.3 kB / 1.056 GB, free: 73.27 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6368, allocations: 1.469 kB / 1.056 GB, free: 73.27 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007673/0.6376, allocations: 373.5 kB / 1.057 GB, free: 73.27 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 (104): * Single equations (assignments): 93 * 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.001196/0.6388, allocations: 0.6193 MB / 1.057 GB, free: 73.14 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.6398, allocations: 0.7265 MB / 1.058 GB, free: 72.94 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6398, allocations: 0 / 1.058 GB, free: 72.94 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.6403, allocations: 0.5112 MB / 1.059 GB, free: 72.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.641, allocations: 326.3 kB / 1.059 GB, free: 72.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.6432, allocations: 1.652 MB / 1.061 GB, free: 72 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.6434, allocations: 203.2 kB / 1.061 GB, free: 71.92 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004971/0.6438, allocations: 269.4 kB / 1.061 GB, free: 71.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.6441, allocations: 119.9 kB / 1.061 GB, free: 71.89 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.6441, allocations: 0 / 1.061 GB, free: 71.89 MB / 1.01 GB Notification: Performance of Templates: time 0.01781/0.6619, allocations: 16.43 MB / 1.077 GB, free: 70.45 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.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.54862961685285]