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.001128/0.001128, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001292/0.001292, allocations: 165 kB / 23.82 MB, free: 0.75 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.9494/0.9494, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.837/1.837, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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 1.583e-06/1.583e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.505e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005199/0.005224, allocations: 5.053 MB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1359, allocations: 146.6 MB / 0.9596 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.1368, allocations: 23.81 kB / 0.9597 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.1374, allocations: 206.1 kB / 0.9598 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1389, allocations: 0.6056 MB / 0.9604 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.1407, allocations: 0.8841 MB / 0.9613 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.1422, allocations: 1.545 MB / 0.9628 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.1429, allocations: 466.3 kB / 0.9633 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.144, allocations: 0.8459 MB / 0.9641 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.1445, allocations: 422.7 kB / 0.9645 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.1447, allocations: 124 kB / 0.9646 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008606/0.1455, allocations: 0.4915 MB / 0.9651 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.1458, allocations: 322.9 kB / 0.9654 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.1462, allocations: 430.9 kB / 0.9658 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.1478, allocations: 1.323 MB / 0.9671 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1478, allocations: 0 / 0.9671 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1478, allocations: 0 / 0.9671 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.1479, allocations: 0 / 0.9671 GB, free: 1.898 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.002047/0.1499, allocations: 1.593 MB / 0.9686 GB, free: 264 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1499, allocations: 8.031 kB / 0.9687 GB, free: 256 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.1517, allocations: 463.2 kB / 0.9691 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1527, allocations: 0.7422 MB / 0.9698 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.1527, allocations: 82.12 kB / 0.9699 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.1529, allocations: 104 kB / 0.97 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1543, allocations: 1.053 MB / 0.971 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1543, allocations: 0 / 0.971 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.1544, allocations: 40 kB / 0.9711 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.1544, allocations: 24 kB / 0.9711 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1556, allocations: 0.8622 MB / 0.9719 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.1591, allocations: 2.397 MB / 0.9743 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.1606, allocations: 0.6069 MB / 0.9749 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.1609, allocations: 214.5 kB / 0.9751 GB, free: 9.488 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.161, allocations: 28.98 kB / 0.9751 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006311/0.1616, allocations: 0.5184 MB / 0.9756 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 3.306e-06/0.1616, allocations: 0 / 0.9756 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.002121/0.1637, allocations: 0.9134 MB / 0.9765 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.1638, allocations: 200.9 kB / 0.9767 GB, free: 7.734 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.1644, allocations: 0.5698 MB / 0.9772 GB, free: 7.152 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.1644, allocations: 53.7 kB / 0.9773 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.1647, allocations: 487.9 kB / 0.9778 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.1649, allocations: 309.4 kB / 0.9781 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.1652, allocations: 196.2 kB / 0.9782 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1654, allocations: 0.5625 MB / 0.9788 GB, free: 5.531 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1657, allocations: 165.8 kB / 0.979 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.1661, allocations: 401.8 kB / 0.9793 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.1668, allocations: 443.1 kB / 0.9798 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1668, allocations: 0 / 0.9798 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00135/0.1682, allocations: 0.7153 MB / 0.9805 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1682, allocations: 6.656 kB / 0.9805 GB, free: 3.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1682, allocations: 7.938 kB / 0.9805 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.1688, allocations: 131.6 kB / 0.9806 GB, free: 3.605 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.1694, allocations: 195.8 kB / 0.9808 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.1709, allocations: 1.898 MB / 0.9826 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.1713, allocations: 87.48 kB / 0.9827 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/0.1714, allocations: 51.94 kB / 0.9828 GB, free: 1.254 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.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.0003277/0.1717, allocations: 218.9 kB / 0.983 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.1719, allocations: 119.4 kB / 0.9831 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.1735, allocations: 0.9201 MB / 0.984 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.1735, allocations: 12 kB / 0.984 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1735, allocations: 0 / 0.984 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1735, allocations: 11.92 kB / 0.984 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.176, allocations: 1.729 MB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.176, allocations: 4 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.1765, allocations: 159.8 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/0.1769, allocations: 123.5 kB / 0.986 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.177, allocations: 27.98 kB / 0.986 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.1783, allocations: 1.93 MB / 0.9879 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1783, allocations: 0 / 0.9879 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1796, allocations: 0.9273 MB / 0.9888 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.1798, allocations: 199.1 kB / 0.989 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.1799, allocations: 28 kB / 0.989 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.1802, allocations: 56.02 kB / 0.9891 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1803, allocations: 72.86 kB / 0.9891 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1803, allocations: 39.97 kB / 0.9892 GB, free: 10.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000289/0.1806, allocations: 383 kB / 0.9895 GB, free: 10.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1806, allocations: 0 / 0.9895 GB, free: 10.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008019/0.1814, allocations: 366.9 kB / 0.9899 GB, free: 9.727 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.001241/0.1827, allocations: 0.6388 MB / 0.9905 GB, free: 9.258 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.1837, allocations: 0.7184 MB / 0.9912 GB, free: 8.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1837, allocations: 4 kB / 0.9912 GB, free: 8.516 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.1842, allocations: 0.5089 MB / 0.9917 GB, free: 7.984 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.185, allocations: 327.9 kB / 0.992 GB, free: 7.688 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.1875, allocations: 1.653 MB / 0.9936 GB, free: 6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.1877, allocations: 203.2 kB / 0.9938 GB, free: 5.781 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000544/0.1882, allocations: 274.8 kB / 0.9941 GB, free: 5.508 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.1884, allocations: 116.4 kB / 0.9942 GB, free: 5.391 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/0.1884, allocations: 0 / 0.9942 GB, free: 5.391 MB / 0.948 GB Notification: Performance of Templates: time 0.02188/0.2103, allocations: 17.19 MB / 1.011 GB, free: 4.496 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.726245172787458]