Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00102/0.00102, 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.001555/0.001555, allocations: 169 kB / 24.27 MB, free: 284 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.9949/0.9949, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.875/1.875, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.485e-05, allocations: 4.125 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.0182/0.01822, allocations: 5.002 MB / 0.792 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1469/0.1652, allocations: 146.4 MB / 0.9349 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.1659, allocations: 23.81 kB / 0.9349 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.1665, allocations: 214.1 kB / 0.9351 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.1679, allocations: 0.5901 MB / 0.9357 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1692, allocations: 0.892 MB / 0.9366 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009893/0.1702, allocations: 1.549 MB / 0.9381 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.1708, allocations: 462.3 kB / 0.9385 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006306/0.1714, allocations: 0.8147 MB / 0.9393 GB, free: 380 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.1718, allocations: 446.8 kB / 0.9397 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1719, allocations: 140 kB / 0.9399 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.1725, allocations: 0.4954 MB / 0.9404 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.1727, allocations: 350.8 kB / 0.9407 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.173, allocations: 434.9 kB / 0.9411 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.1741, allocations: 1.351 MB / 0.9424 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1741, allocations: 0 / 0.9424 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1741, allocations: 0 / 0.9424 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.1742, allocations: 0 / 0.9424 GB, free: 13.18 MB / 0.9011 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.001704/0.1759, allocations: 1.609 MB / 0.944 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1759, allocations: 16.03 kB / 0.944 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.1772, allocations: 455.2 kB / 0.9445 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.178, allocations: 0.7597 MB / 0.9452 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.1781, allocations: 82.12 kB / 0.9453 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.1782, allocations: 100 kB / 0.9454 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1793, allocations: 1.126 MB / 0.9465 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1794, allocations: 4 kB / 0.9465 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.1794, allocations: 43.98 kB / 0.9465 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1795, allocations: 24 kB / 0.9465 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.1804, allocations: 0.8583 MB / 0.9474 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.1831, allocations: 2.448 MB / 0.9498 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1842, allocations: 0.6126 MB / 0.9504 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.1845, allocations: 206.5 kB / 0.9506 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.1846, allocations: 36.97 kB / 0.9506 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.1851, allocations: 0.5301 MB / 0.9511 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=92): time 2.374e-06/0.1851, allocations: 0 / 0.9511 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=92): time 0.001631/0.1867, allocations: 0.9134 MB / 0.952 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.1868, allocations: 200.9 kB / 0.9522 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.1873, allocations: 0.5815 MB / 0.9528 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.1873, allocations: 53.69 kB / 0.9528 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1876, allocations: 491.9 kB / 0.9533 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.1877, allocations: 305.4 kB / 0.9536 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.1879, allocations: 196.2 kB / 0.9538 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1881, allocations: 0.5625 MB / 0.9543 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.1883, allocations: 157.9 kB / 0.9545 GB, free: 452 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.1887, allocations: 413.8 kB / 0.9549 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.1893, allocations: 435.1 kB / 0.9553 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1893, allocations: 0 / 0.9553 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001052/0.1903, allocations: 0.727 MB / 0.956 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1903, allocations: 4 kB / 0.956 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1903, allocations: 0 / 0.956 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.1908, allocations: 127.7 kB / 0.9561 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.1912, allocations: 207.6 kB / 0.9563 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.1925, allocations: 1.901 MB / 0.9582 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.1928, allocations: 91.52 kB / 0.9583 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.1929, allocations: 47.91 kB / 0.9583 GB, free: 12.31 MB / 0.9167 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.0002122/0.1931, allocations: 215.1 kB / 0.9585 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.1932, allocations: 119.4 kB / 0.9586 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.1945, allocations: 0.9202 MB / 0.9595 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1945, allocations: 12 kB / 0.9595 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1945, allocations: 0 / 0.9595 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.1945, allocations: 7.969 kB / 0.9595 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.1965, allocations: 1.763 MB / 0.9613 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1965, allocations: 0 / 0.9613 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.1969, allocations: 167.8 kB / 0.9614 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.1972, allocations: 119.6 kB / 0.9615 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.1973, allocations: 27.98 kB / 0.9616 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.1984, allocations: 1.917 MB / 0.9634 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1984, allocations: 3.938 kB / 0.9634 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.1994, allocations: 0.9352 MB / 0.9643 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.1997, allocations: 215 kB / 0.9646 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.1998, allocations: 24 kB / 0.9646 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.2001, allocations: 52.09 kB / 0.9646 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2002, allocations: 88.83 kB / 0.9647 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.2002, allocations: 39.97 kB / 0.9647 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002863/0.2005, allocations: 391 kB / 0.9651 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2005, allocations: 0 / 0.9651 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005564/0.2011, allocations: 363 kB / 0.9655 GB, free: 4.734 MB / 0.9167 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.001193/0.2023, allocations: 0.6299 MB / 0.9661 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009285/0.2032, allocations: 0.738 MB / 0.9668 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2032, allocations: 0 / 0.9668 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.2037, allocations: 0.5049 MB / 0.9673 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006972/0.2044, allocations: 319.2 kB / 0.9676 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.2065, allocations: 1.666 MB / 0.9692 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2066, allocations: 203.2 kB / 0.9694 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004792/0.2071, allocations: 266.8 kB / 0.9697 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.2073, allocations: 116.4 kB / 0.9698 GB, free: 392 kB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.2073, allocations: 8 kB / 0.9698 GB, free: 384 kB / 0.9167 GB Notification: Performance of Templates: time 0.0179/0.2252, allocations: 16.44 MB / 0.9858 GB, free: 232 kB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.945114347850904]