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.000984/0.000984, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001174/0.001174, allocations: 169.3 kB / 24.28 MB, free: 280 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.95/0.95, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.891/1.891, allocations: 377.8 MB / 0.6239 GB, free: 8.582 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.534e-06/2.534e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.346e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008338/0.008372, allocations: 5.029 MB / 0.8164 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.1464, allocations: 146.4 MB / 0.9593 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.1473, allocations: 23.81 kB / 0.9594 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.1478, allocations: 214 kB / 0.9596 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.1494, allocations: 0.5862 MB / 0.9601 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1509, allocations: 0.8919 MB / 0.961 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1522, allocations: 1.549 MB / 0.9625 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007214/0.1529, allocations: 462.3 kB / 0.963 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007912/0.1537, allocations: 0.8109 MB / 0.9638 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.1541, allocations: 450.7 kB / 0.9642 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.1543, allocations: 136 kB / 0.9643 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.1549, allocations: 0.5071 MB / 0.9648 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.1552, allocations: 338.9 kB / 0.9651 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.1555, allocations: 442.9 kB / 0.9656 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1568, allocations: 1.354 MB / 0.9669 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1568, allocations: 0 / 0.9669 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1568, allocations: 4 kB / 0.9669 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.1568, allocations: 4 kB / 0.9669 GB, free: 2.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.001944/0.1587, allocations: 1.601 MB / 0.9684 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1588, allocations: 12.03 kB / 0.9685 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.1601, allocations: 459.2 kB / 0.9689 GB, free: 356 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.161, allocations: 0.7442 MB / 0.9696 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.161, allocations: 86.11 kB / 0.9697 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1611, allocations: 103.9 kB / 0.9698 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1623, allocations: 1.13 MB / 0.9709 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1623, allocations: 3.938 kB / 0.9709 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.1624, allocations: 36 kB / 0.9709 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1624, allocations: 24 kB / 0.971 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009999/0.1634, allocations: 0.8622 MB / 0.9718 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.1664, allocations: 2.444 MB / 0.9742 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.1678, allocations: 0.617 MB / 0.9748 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1681, allocations: 202.5 kB / 0.975 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.1681, allocations: 28.97 kB / 0.975 GB, free: 9.871 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005953/0.1687, allocations: 0.5223 MB / 0.9755 GB, free: 9.301 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 3.617e-06/0.1687, allocations: 3.984 kB / 0.9755 GB, free: 9.297 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.001715/0.1704, allocations: 0.9134 MB / 0.9764 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.1705, allocations: 200.9 kB / 0.9766 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.171, allocations: 0.5853 MB / 0.9772 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.1711, allocations: 49.7 kB / 0.9772 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.1714, allocations: 495.9 kB / 0.9777 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.1716, allocations: 309.4 kB / 0.978 GB, free: 6.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.1718, allocations: 196.2 kB / 0.9782 GB, free: 6.48 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1719, allocations: 0.5625 MB / 0.9787 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.1722, allocations: 165.9 kB / 0.9789 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.1726, allocations: 401.8 kB / 0.9793 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.1733, allocations: 443 kB / 0.9797 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1733, allocations: 0 / 0.9797 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001214/0.1745, allocations: 0.7231 MB / 0.9804 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1745, allocations: 4 kB / 0.9804 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1745, allocations: 7.984 kB / 0.9804 GB, free: 4.109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.175, allocations: 127.6 kB / 0.9805 GB, free: 3.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.1755, allocations: 199.6 kB / 0.9807 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.1773, allocations: 1.894 MB / 0.9826 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.1777, allocations: 91.48 kB / 0.9827 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.1778, allocations: 43.97 kB / 0.9827 GB, free: 1.633 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.0002474/0.178, allocations: 215 kB / 0.9829 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.1782, allocations: 127.4 kB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1795, allocations: 0.9163 MB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1795, allocations: 12 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1795, allocations: 0 / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1795, allocations: 3.984 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.1817, allocations: 1.76 MB / 0.9857 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1817, allocations: 4 kB / 0.9857 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.182, allocations: 167.7 kB / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.1824, allocations: 119.6 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.1824, allocations: 27.97 kB / 0.986 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.1836, allocations: 1.91 MB / 0.9878 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1836, allocations: 7.969 kB / 0.9878 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1849, allocations: 0.9352 MB / 0.9888 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.1851, allocations: 207 kB / 0.989 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.1852, allocations: 28.05 kB / 0.989 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.1855, allocations: 69.44 kB / 0.989 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1856, allocations: 72.86 kB / 0.9891 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.1856, allocations: 39.97 kB / 0.9892 GB, free: 10.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002994/0.1859, allocations: 398.9 kB / 0.9895 GB, free: 10.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1859, allocations: 0 / 0.9895 GB, free: 10.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006771/0.1866, allocations: 371 kB / 0.9899 GB, free: 10.04 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.001217/0.1878, allocations: 0.6456 MB / 0.9905 GB, free: 9.566 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009422/0.1888, allocations: 0.7184 MB / 0.9912 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1888, allocations: 0 / 0.9912 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.1893, allocations: 0.5089 MB / 0.9917 GB, free: 8.301 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.19, allocations: 325.2 kB / 0.992 GB, free: 8.004 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1923, allocations: 1.666 MB / 0.9937 GB, free: 6.301 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1924, allocations: 199.2 kB / 0.9938 GB, free: 6.086 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005069/0.1929, allocations: 270.8 kB / 0.9941 GB, free: 5.816 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.1931, allocations: 124.4 kB / 0.9942 GB, free: 5.691 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/0.1931, allocations: 0 / 0.9942 GB, free: 5.691 MB / 0.948 GB Notification: Performance of Templates: time 0.01893/0.212, allocations: 16.45 MB / 1.01 GB, free: 5.531 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.848798301070929]