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.001027/0.001027, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001036/0.001036, allocations: 173 kB / 23.49 MB, free: 1.055 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.9389/0.9389, allocations: 177.1 MB / 203.8 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.095/2.095, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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 2.795e-06/2.795e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.565e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007842/0.007877, allocations: 5.017 MB / 0.8831 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1433/0.1512, allocations: 146.4 MB / 1.026 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1522, allocations: 23.81 kB / 1.026 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.1529, allocations: 210.1 kB / 1.026 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.1544, allocations: 0.5862 MB / 1.027 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.156, allocations: 0.888 MB / 1.028 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.1573, allocations: 1.557 MB / 1.029 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/0.1579, allocations: 458.3 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007808/0.1587, allocations: 0.8108 MB / 1.03 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.159, allocations: 446.7 kB / 1.031 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1592, allocations: 136 kB / 1.031 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.1598, allocations: 0.5071 MB / 1.031 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.16, allocations: 342.9 kB / 1.032 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.1603, allocations: 430.9 kB / 1.032 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1615, allocations: 1.358 MB / 1.034 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1615, allocations: 0 / 1.034 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1615, allocations: 0 / 1.034 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.1615, allocations: 4 kB / 1.034 GB, free: 6.969 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.001709/0.1632, allocations: 1.612 MB / 1.035 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1633, allocations: 12.03 kB / 1.035 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.1646, allocations: 451.3 kB / 1.036 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.1654, allocations: 0.7434 MB / 1.036 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.1654, allocations: 86.06 kB / 1.036 GB, free: 4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.1655, allocations: 100 kB / 1.036 GB, free: 3.902 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1666, allocations: 1.13 MB / 1.038 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1666, allocations: 3.938 kB / 1.038 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.1667, allocations: 43.98 kB / 1.038 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1667, allocations: 24 kB / 1.038 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/0.1676, allocations: 0.8583 MB / 1.038 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.1703, allocations: 2.433 MB / 1.041 GB, free: 15.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.1715, allocations: 0.6114 MB / 1.041 GB, free: 14.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.1717, allocations: 206.5 kB / 1.042 GB, free: 14.42 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.1718, allocations: 32.98 kB / 1.042 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.1723, allocations: 0.5223 MB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 2.144e-06/0.1723, allocations: 0 / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.001626/0.1739, allocations: 0.9212 MB / 1.043 GB, free: 12.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.174, allocations: 200.9 kB / 1.043 GB, free: 12.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.1745, allocations: 0.5737 MB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.1745, allocations: 49.7 kB / 1.044 GB, free: 12 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1748, allocations: 492 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.1749, allocations: 309.3 kB / 1.045 GB, free: 11.21 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.1751, allocations: 192.2 kB / 1.045 GB, free: 11.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1753, allocations: 0.5741 MB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1755, allocations: 161.9 kB / 1.046 GB, free: 10.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.1759, allocations: 409.7 kB / 1.046 GB, free: 9.816 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.1765, allocations: 431.1 kB / 1.046 GB, free: 9.383 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1765, allocations: 3.938 kB / 1.046 GB, free: 9.379 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00106/0.1775, allocations: 0.727 MB / 1.047 GB, free: 8.641 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1776, allocations: 4 kB / 1.047 GB, free: 8.637 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1776, allocations: 4.094 kB / 1.047 GB, free: 8.633 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004805/0.178, allocations: 135.5 kB / 1.047 GB, free: 8.496 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.1785, allocations: 199.7 kB / 1.047 GB, free: 8.301 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1799, allocations: 1.904 MB / 1.049 GB, free: 6.273 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.1802, allocations: 79.53 kB / 1.049 GB, free: 6.195 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.1802, allocations: 43.97 kB / 1.049 GB, free: 6.152 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.0002243/0.1805, allocations: 227.2 kB / 1.05 GB, free: 5.922 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1806, allocations: 119.4 kB / 1.05 GB, free: 5.805 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.1819, allocations: 0.9045 MB / 1.051 GB, free: 4.879 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1819, allocations: 12 kB / 1.051 GB, free: 4.867 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1819, allocations: 0 / 1.051 GB, free: 4.867 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1819, allocations: 3.984 kB / 1.051 GB, free: 4.863 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.1839, allocations: 1.763 MB / 1.052 GB, free: 3.039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1839, allocations: 4 kB / 1.052 GB, free: 3.035 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.1842, allocations: 159.8 kB / 1.052 GB, free: 2.879 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/0.1846, allocations: 119.6 kB / 1.053 GB, free: 2.758 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.1846, allocations: 31.97 kB / 1.053 GB, free: 2.727 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1858, allocations: 1.914 MB / 1.054 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1858, allocations: 3.938 kB / 1.054 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3989/0.5847, allocations: 0.9279 MB / 1.055 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.5851, allocations: 208.3 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.5852, allocations: 29.06 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.5856, allocations: 57.19 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.5857, allocations: 78.12 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.5857, allocations: 39.52 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003131/0.586, allocations: 388.9 kB / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.586, allocations: 1 kB / 1.056 GB, free: 219.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007694/0.5868, allocations: 372.9 kB / 1.057 GB, free: 219.4 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.001191/0.588, allocations: 0.6384 MB / 1.057 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009776/0.589, allocations: 0.7234 MB / 1.058 GB, free: 219.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.589, allocations: 0 / 1.058 GB, free: 219.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.5894, allocations: 0.5126 MB / 1.058 GB, free: 218.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.5901, allocations: 331.7 kB / 1.059 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5923, allocations: 1.642 MB / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.5924, allocations: 204 kB / 1.06 GB, free: 218 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004874/0.5929, allocations: 270.7 kB / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5931, allocations: 122.1 kB / 1.061 GB, free: 217.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.032e-06/0.5931, allocations: 0 / 1.061 GB, free: 217.9 MB / 1.01 GB Notification: Performance of Templates: time 0.01733/0.6104, allocations: 16.42 MB / 1.077 GB, free: 216 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.594022433040664]