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.0009488/0.0009488, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009962/0.0009962, allocations: 166 kB / 24.87 MB, free: 9.285 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.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.875/1.875, allocations: 377.9 MB / 0.6247 GB, free: 8.441 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.162e-06/1.162e-06, allocations: 0 / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.855e-05, allocations: 6.188 kB / 0.8127 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004941/0.004959, allocations: 4.936 MB / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.1447, allocations: 143.9 MB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008091/0.1455, allocations: 23.81 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.146, allocations: 202.1 kB / 0.9583 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1474, allocations: 0.6056 MB / 0.9589 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.1488, allocations: 0.888 MB / 0.9598 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1499, allocations: 1.545 MB / 0.9613 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.1504, allocations: 458.4 kB / 0.9617 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007792/0.1512, allocations: 0.8498 MB / 0.9625 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.1516, allocations: 425.1 kB / 0.963 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.1517, allocations: 128 kB / 0.9631 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007924/0.1525, allocations: 0.4915 MB / 0.9636 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.1527, allocations: 322.9 kB / 0.9639 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.153, allocations: 422.8 kB / 0.9643 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1542, allocations: 1.331 MB / 0.9656 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1542, allocations: 3.984 kB / 0.9656 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1542, allocations: 0 / 0.9656 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.1542, allocations: 0 / 0.9656 GB, free: 4.457 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.001678/0.1559, allocations: 1.601 MB / 0.9671 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1559, allocations: 12.03 kB / 0.9671 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.1572, allocations: 455.2 kB / 0.9676 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.158, allocations: 0.7383 MB / 0.9683 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.158, allocations: 82.11 kB / 0.9684 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.1581, allocations: 108 kB / 0.9685 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.1591, allocations: 0.9868 MB / 0.9694 GB, free: 324 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1591, allocations: 0 / 0.9694 GB, free: 324 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.1592, allocations: 43.98 kB / 0.9695 GB, free: 280 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.1592, allocations: 24 kB / 0.9695 GB, free: 256 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.1601, allocations: 0.7274 MB / 0.9702 GB, free: 15.52 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.1626, allocations: 2.277 MB / 0.9724 GB, free: 13.2 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009598/0.1635, allocations: 0.5534 MB / 0.973 GB, free: 12.63 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1637, allocations: 178.4 kB / 0.9732 GB, free: 12.46 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.1638, allocations: 36.97 kB / 0.9732 GB, free: 12.42 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.1642, allocations: 494.7 kB / 0.9737 GB, free: 11.89 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=92): time 2.144e-06/0.1642, allocations: 0 / 0.9737 GB, free: 11.89 MB / 0.9324 GB Notification: Performance of matching and sorting (n=92): time 0.001367/0.1656, allocations: 0.8235 MB / 0.9745 GB, free: 11.06 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.1656, allocations: 200.9 kB / 0.9747 GB, free: 10.82 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.166, allocations: 0.5616 MB / 0.9752 GB, free: 10.24 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.1661, allocations: 49.7 kB / 0.9753 GB, free: 10.18 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.1663, allocations: 491.8 kB / 0.9757 GB, free: 9.695 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.1665, allocations: 313.3 kB / 0.976 GB, free: 9.387 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.1667, allocations: 192.1 kB / 0.9762 GB, free: 9.191 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1668, allocations: 0.5701 MB / 0.9768 GB, free: 8.609 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.167, allocations: 133.8 kB / 0.9769 GB, free: 8.48 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.1674, allocations: 369.7 kB / 0.9772 GB, free: 8.066 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.1678, allocations: 371 kB / 0.9776 GB, free: 7.691 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1678, allocations: 4 kB / 0.9776 GB, free: 7.688 MB / 0.9324 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.000869/0.1687, allocations: 0.6451 MB / 0.9782 GB, free: 7.027 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1687, allocations: 7.938 kB / 0.9782 GB, free: 7.02 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1687, allocations: 0 / 0.9782 GB, free: 7.02 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.1691, allocations: 131.5 kB / 0.9784 GB, free: 6.887 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.1696, allocations: 199.7 kB / 0.9786 GB, free: 6.691 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1707, allocations: 1.867 MB / 0.9804 GB, free: 4.707 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.171, allocations: 91.48 kB / 0.9805 GB, free: 4.617 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.1711, allocations: 35.97 kB / 0.9805 GB, free: 4.582 MB / 0.9324 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.0002074/0.1713, allocations: 227 kB / 0.9807 GB, free: 4.352 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1714, allocations: 119.4 kB / 0.9808 GB, free: 4.234 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.1725, allocations: 0.8459 MB / 0.9817 GB, free: 3.367 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1725, allocations: 12 kB / 0.9817 GB, free: 3.355 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1725, allocations: 4 kB / 0.9817 GB, free: 3.352 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1725, allocations: 7.984 kB / 0.9817 GB, free: 3.344 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1741, allocations: 1.542 MB / 0.9832 GB, free: 1.758 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1741, allocations: 4 kB / 0.9832 GB, free: 1.754 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.1745, allocations: 167.7 kB / 0.9833 GB, free: 1.59 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.1748, allocations: 127.5 kB / 0.9835 GB, free: 1.461 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.1749, allocations: 27.98 kB / 0.9835 GB, free: 1.434 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.176, allocations: 1.88 MB / 0.9853 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.176, allocations: 4.031 kB / 0.9853 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009121/0.1769, allocations: 0.8647 MB / 0.9862 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.1772, allocations: 199.1 kB / 0.9864 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.1773, allocations: 27.98 kB / 0.9864 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.1775, allocations: 55.91 kB / 0.9864 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/0.1776, allocations: 72.84 kB / 0.9865 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.1777, allocations: 31.98 kB / 0.9865 GB, free: 14.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002113/0.1779, allocations: 362.9 kB / 0.9869 GB, free: 13.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1779, allocations: 0 / 0.9869 GB, free: 13.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000577/0.1784, allocations: 367 kB / 0.9872 GB, free: 13.45 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.001179/0.1796, allocations: 0.633 MB / 0.9879 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007097/0.1803, allocations: 0.6559 MB / 0.9885 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1803, allocations: 4 kB / 0.9885 GB, free: 12.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.1807, allocations: 481.1 kB / 0.989 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.1814, allocations: 324.8 kB / 0.9893 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1833, allocations: 1.626 MB / 0.9909 GB, free: 9.859 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.1834, allocations: 207.2 kB / 0.9911 GB, free: 9.637 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005473/0.184, allocations: 206.9 kB / 0.9913 GB, free: 9.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.1845, allocations: 377.9 kB / 0.9916 GB, free: 9.059 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.1845, allocations: 0 / 0.9916 GB, free: 9.059 MB / 0.948 GB Notification: Performance of Templates: time 0.01933/0.2039, allocations: 17.8 MB / 1.009 GB, free: 7.57 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.839168252889067]