Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009055/0.0009055, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009938/0.0009938, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9161/0.9161, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.813/1.813, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 4 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.717e-05, allocations: 3.297 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004814/0.004831, allocations: 4.949 MB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.1396, allocations: 143.9 MB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.1404, allocations: 23.81 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.1409, allocations: 210.1 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.1421, allocations: 0.6095 MB / 0.9581 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1436, allocations: 0.8841 MB / 0.959 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.145, allocations: 1.545 MB / 0.9605 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.1455, allocations: 458.3 kB / 0.961 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.1465, allocations: 0.8497 MB / 0.9618 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.1469, allocations: 414.8 kB / 0.9622 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.147, allocations: 124 kB / 0.9623 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.1476, allocations: 0.4954 MB / 0.9628 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.1478, allocations: 330.9 kB / 0.9631 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.148, allocations: 414.9 kB / 0.9635 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1491, allocations: 1.331 MB / 0.9648 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1491, allocations: 3.938 kB / 0.9648 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1491, allocations: 0 / 0.9648 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1491, allocations: 0 / 0.9648 GB, free: 4.445 MB / 0.9167 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.001459/0.1506, allocations: 1.605 MB / 0.9664 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1506, allocations: 8.031 kB / 0.9664 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1517, allocations: 463.2 kB / 0.9668 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000889/0.1526, allocations: 0.7383 MB / 0.9675 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1526, allocations: 78.12 kB / 0.9676 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.1527, allocations: 104 kB / 0.9677 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1537, allocations: 0.9829 MB / 0.9687 GB, free: 316 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1538, allocations: 4 kB / 0.9687 GB, free: 312 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.858e-05/0.1539, allocations: 43.98 kB / 0.9687 GB, free: 268 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1539, allocations: 24 kB / 0.9687 GB, free: 244 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.1546, allocations: 0.7313 MB / 0.9694 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.1569, allocations: 2.273 MB / 0.9717 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/0.1578, allocations: 0.5586 MB / 0.9722 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.158, allocations: 173 kB / 0.9724 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.158, allocations: 56.8 kB / 0.9724 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.1584, allocations: 0.4909 MB / 0.9729 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 2.034e-06/0.1584, allocations: 0 / 0.9729 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.00123/0.1596, allocations: 0.8196 MB / 0.9737 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1597, allocations: 204.9 kB / 0.9739 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1601, allocations: 0.5617 MB / 0.9745 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.1601, allocations: 53.64 kB / 0.9745 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.1603, allocations: 483.8 kB / 0.975 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1605, allocations: 313.3 kB / 0.9753 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1607, allocations: 200.1 kB / 0.9755 GB, free: 9.152 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1608, allocations: 0.5701 MB / 0.976 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.161, allocations: 125.9 kB / 0.9761 GB, free: 8.449 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.1612, allocations: 373.7 kB / 0.9765 GB, free: 8.031 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.1616, allocations: 371 kB / 0.9768 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1616, allocations: 0 / 0.9768 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008097/0.1624, allocations: 0.649 MB / 0.9775 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1624, allocations: 4 kB / 0.9775 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1624, allocations: 3.984 kB / 0.9775 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.1628, allocations: 131.5 kB / 0.9776 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.1632, allocations: 199.7 kB / 0.9778 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.1643, allocations: 1.869 MB / 0.9796 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.1646, allocations: 95.52 kB / 0.9797 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.1647, allocations: 35.97 kB / 0.9798 GB, free: 4.543 MB / 0.9323 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0001827/0.1648, allocations: 215.2 kB / 0.98 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.165, allocations: 127.4 kB / 0.9801 GB, free: 4.199 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.166, allocations: 0.8459 MB / 0.9809 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.166, allocations: 11.94 kB / 0.9809 GB, free: 3.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.166, allocations: 4 kB / 0.9809 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.166, allocations: 7.969 kB / 0.9809 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.1676, allocations: 1.546 MB / 0.9824 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1676, allocations: 0 / 0.9824 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.1679, allocations: 171.7 kB / 0.9826 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.1682, allocations: 119.6 kB / 0.9827 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.1683, allocations: 31.91 kB / 0.9827 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009508/0.1692, allocations: 1.888 MB / 0.9846 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1692, allocations: 3.938 kB / 0.9846 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.17, allocations: 0.8648 MB / 0.9854 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.1703, allocations: 195.1 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.1703, allocations: 24 kB / 0.9856 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1706, allocations: 51.95 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.1707, allocations: 80.86 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1707, allocations: 39.97 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002069/0.1709, allocations: 358.9 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1709, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005169/0.1714, allocations: 363 kB / 0.9865 GB, free: 13.41 MB / 0.948 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 (105): * Single equations (assignments): 94 * 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.001021/0.1724, allocations: 0.6293 MB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006647/0.1731, allocations: 0.6559 MB / 0.9878 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1731, allocations: 4 kB / 0.9878 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.1735, allocations: 476.9 kB / 0.9882 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.1741, allocations: 322.7 kB / 0.9885 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.176, allocations: 1.627 MB / 0.9901 GB, free: 9.824 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.1761, allocations: 211.2 kB / 0.9903 GB, free: 9.598 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004123/0.1765, allocations: 210.9 kB / 0.9905 GB, free: 9.387 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.1771, allocations: 365.9 kB / 0.9909 GB, free: 9.027 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.1771, allocations: 0 / 0.9909 GB, free: 9.027 MB / 0.948 GB Notification: Performance of Templates: time 0.01934/0.1964, allocations: 17.54 MB / 1.008 GB, free: 7.816 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.790559991262853]