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.001/0.001, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009312/0.0009312, allocations: 169 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.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.906/1.906, allocations: 377.9 MB / 0.6236 GB, free: 8.57 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.174e-06/2.174e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.961e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01249/0.01252, allocations: 5.063 MB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.1576, allocations: 146.6 MB / 0.9596 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.1583, allocations: 23.81 kB / 0.9597 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1589, allocations: 202.1 kB / 0.9598 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1602, allocations: 0.5979 MB / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1617, allocations: 0.8958 MB / 0.9613 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.163, allocations: 1.549 MB / 0.9628 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.1636, allocations: 454.4 kB / 0.9632 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.1645, allocations: 0.8147 MB / 0.964 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.1651, allocations: 446.7 kB / 0.9645 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1652, allocations: 136 kB / 0.9646 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007981/0.166, allocations: 0.5033 MB / 0.9651 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1662, allocations: 342.8 kB / 0.9654 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.1665, allocations: 450.9 kB / 0.9658 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.1681, allocations: 1.354 MB / 0.9672 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1681, allocations: 0 / 0.9672 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1681, allocations: 0 / 0.9672 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.1681, allocations: 0 / 0.9672 GB, free: 1.812 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.001672/0.1698, allocations: 1.605 MB / 0.9687 GB, free: 164 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1698, allocations: 12.03 kB / 0.9687 GB, free: 152 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.171, allocations: 461.1 kB / 0.9692 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.1719, allocations: 0.748 MB / 0.9699 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.1719, allocations: 80.25 kB / 0.97 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.172, allocations: 108 kB / 0.9701 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1732, allocations: 1.134 MB / 0.9712 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1732, allocations: 0 / 0.9712 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.1733, allocations: 40 kB / 0.9712 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1733, allocations: 28 kB / 0.9713 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000964/0.1742, allocations: 0.8699 MB / 0.9721 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.1772, allocations: 2.433 MB / 0.9745 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1784, allocations: 0.607 MB / 0.9751 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.1786, allocations: 198.6 kB / 0.9753 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.1787, allocations: 32.97 kB / 0.9753 GB, free: 9.215 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.1793, allocations: 0.5261 MB / 0.9758 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 2.354e-06/0.1793, allocations: 4 kB / 0.9758 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.001702/0.181, allocations: 0.9172 MB / 0.9767 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.181, allocations: 200.9 kB / 0.9769 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.1815, allocations: 0.5815 MB / 0.9775 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.1816, allocations: 49.7 kB / 0.9775 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1818, allocations: 491.9 kB / 0.978 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.182, allocations: 309.4 kB / 0.9783 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.1822, allocations: 200.1 kB / 0.9785 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1824, allocations: 0.5586 MB / 0.979 GB, free: 5.258 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.1826, allocations: 161.9 kB / 0.9792 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.183, allocations: 413.8 kB / 0.9796 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.1836, allocations: 439.1 kB / 0.98 GB, free: 4.199 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1836, allocations: 0 / 0.98 GB, free: 4.199 MB / 0.9323 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001313/0.1849, allocations: 0.7269 MB / 0.9807 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.185, allocations: 4 kB / 0.9807 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.185, allocations: 0 / 0.9807 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.1855, allocations: 131.6 kB / 0.9808 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.1859, allocations: 191.8 kB / 0.981 GB, free: 3.137 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1872, allocations: 1.902 MB / 0.9829 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.1876, allocations: 101.1 kB / 0.983 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.1876, allocations: 47.97 kB / 0.983 GB, free: 0.9648 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.0002225/0.1879, allocations: 211 kB / 0.9832 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.188, allocations: 119.5 kB / 0.9833 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1893, allocations: 0.9161 MB / 0.9842 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1893, allocations: 16 kB / 0.9842 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1893, allocations: 0 / 0.9842 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1893, allocations: 3.984 kB / 0.9842 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.1913, allocations: 1.756 MB / 0.986 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1914, allocations: 0 / 0.986 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.1917, allocations: 163.8 kB / 0.9861 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/0.1921, allocations: 119.5 kB / 0.9862 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.1921, allocations: 31.97 kB / 0.9863 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.1934, allocations: 1.93 MB / 0.9881 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1934, allocations: 0 / 0.9881 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1945, allocations: 0.9391 MB / 0.9891 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.1948, allocations: 207 kB / 0.9893 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/0.1949, allocations: 27.94 kB / 0.9893 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.1952, allocations: 59.94 kB / 0.9893 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1953, allocations: 72.86 kB / 0.9894 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.1953, allocations: 39.97 kB / 0.9895 GB, free: 10.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003135/0.1956, allocations: 398.9 kB / 0.9898 GB, free: 9.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1956, allocations: 4 kB / 0.9898 GB, free: 9.746 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000697/0.1963, allocations: 367 kB / 0.9902 GB, free: 9.387 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.00123/0.1976, allocations: 0.637 MB / 0.9908 GB, free: 8.922 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.1986, allocations: 0.7184 MB / 0.9915 GB, free: 8.184 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1986, allocations: 4.188 kB / 0.9915 GB, free: 8.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.1991, allocations: 0.5087 MB / 0.992 GB, free: 7.648 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.1998, allocations: 323.6 kB / 0.9923 GB, free: 7.348 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2022, allocations: 1.658 MB / 0.9939 GB, free: 5.652 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2023, allocations: 203.2 kB / 0.9941 GB, free: 5.434 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005282/0.2029, allocations: 274.8 kB / 0.9944 GB, free: 5.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.2031, allocations: 120.4 kB / 0.9945 GB, free: 5.039 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/0.2031, allocations: 0 / 0.9945 GB, free: 5.039 MB / 0.948 GB Notification: Performance of Templates: time 0.02003/0.2231, allocations: 16.45 MB / 1.011 GB, free: 4.875 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.96290309401229]