Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001362/0.001362, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.001035/0.001035, allocations: 172.9 kB / 23.36 MB, free: 1.125 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.441/2.441, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.51e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01205/0.01207, allocations: 4.985 MB / 0.8435 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.146/0.158, allocations: 146.1 MB / 0.9861 GB, free: 6.492 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.1588, allocations: 23.81 kB / 0.9862 GB, free: 6.469 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.1594, allocations: 202.1 kB / 0.9864 GB, free: 6.27 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1609, allocations: 0.5861 MB / 0.9869 GB, free: 5.68 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.1627, allocations: 0.8762 MB / 0.9878 GB, free: 4.801 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.1641, allocations: 1.537 MB / 0.9893 GB, free: 3.258 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.1647, allocations: 478.9 kB / 0.9897 GB, free: 2.758 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.1658, allocations: 0.8419 MB / 0.9906 GB, free: 1.914 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.1663, allocations: 422.8 kB / 0.991 GB, free: 1.5 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1665, allocations: 128 kB / 0.9911 GB, free: 1.375 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008941/0.1674, allocations: 0.5227 MB / 0.9916 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1676, allocations: 322.9 kB / 0.9919 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.1679, allocations: 418.8 kB / 0.9923 GB, free: 128 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1696, allocations: 1.323 MB / 0.9936 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1696, allocations: 0 / 0.9936 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1696, allocations: 0 / 0.9936 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.1696, allocations: 0 / 0.9936 GB, free: 14.8 MB / 0.9636 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.002164/0.1718, allocations: 1.448 MB / 0.995 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1718, allocations: 12.62 kB / 0.995 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1732, allocations: 411.9 kB / 0.9954 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.174, allocations: 0.5853 MB / 0.996 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.1741, allocations: 82.12 kB / 0.9961 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.1742, allocations: 108 kB / 0.9962 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.1751, allocations: 0.9686 MB / 0.9971 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1751, allocations: 0 / 0.9971 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.1752, allocations: 47.98 kB / 0.9972 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.1752, allocations: 27.94 kB / 0.9972 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.1759, allocations: 0.6143 MB / 0.9978 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.1783, allocations: 1.737 MB / 0.9995 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.1791, allocations: 493 kB / 1 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1793, allocations: 160.1 kB / 1 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.1794, allocations: 28.92 kB / 1 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/0.1798, allocations: 495.3 kB / 1.001 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=92): time 2.244e-06/0.1798, allocations: 7.938 kB / 1.001 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=92): time 0.001408/0.1812, allocations: 0.5968 MB / 1.001 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.1813, allocations: 204.8 kB / 1.001 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.1817, allocations: 0.5017 MB / 1.002 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.1817, allocations: 45.7 kB / 1.002 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.1819, allocations: 378.3 kB / 1.002 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1821, allocations: 301.4 kB / 1.003 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.1823, allocations: 178.4 kB / 1.003 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1824, allocations: 394.5 kB / 1.003 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1825, allocations: 112.8 kB / 1.003 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.1827, allocations: 327.6 kB / 1.004 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1831, allocations: 353.2 kB / 1.004 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1831, allocations: 0 / 1.004 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0007091/0.1838, allocations: 491 kB / 1.004 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1839, allocations: 8 kB / 1.004 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1839, allocations: 0 / 1.004 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.1843, allocations: 124.7 kB / 1.004 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.1847, allocations: 203.7 kB / 1.005 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1858, allocations: 1.305 MB / 1.006 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.1862, allocations: 98.88 kB / 1.006 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.1862, allocations: 31.97 kB / 1.006 GB, free: 1.535 MB / 0.9636 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.0002168/0.1864, allocations: 167.1 kB / 1.006 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.1865, allocations: 87.86 kB / 1.006 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.1875, allocations: 0.6577 MB / 1.007 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1875, allocations: 11.94 kB / 1.007 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1875, allocations: 0 / 1.007 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.1875, allocations: 11.98 kB / 1.007 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1892, allocations: 1.167 MB / 1.008 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1892, allocations: 7.938 kB / 1.008 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.1896, allocations: 167.8 kB / 1.008 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/0.1899, allocations: 108.7 kB / 1.008 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.1899, allocations: 27.97 kB / 1.008 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008775/0.1908, allocations: 1.325 MB / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1908, allocations: 0 / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.1915, allocations: 0.5946 MB / 1.01 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.1917, allocations: 159.1 kB / 1.01 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.1918, allocations: 24 kB / 1.01 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1921, allocations: 50.5 kB / 1.011 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1922, allocations: 84.78 kB / 1.011 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.1922, allocations: 27.92 kB / 1.011 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000203/0.1924, allocations: 243.4 kB / 1.011 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1924, allocations: 4 kB / 1.011 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000691/0.1931, allocations: 359 kB / 1.011 GB, free: 12.1 MB / 0.9792 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 (104): * Single equations (assignments): 93 * 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.00153/0.1946, allocations: 0.7486 MB / 1.012 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007325/0.1954, allocations: 0.5485 MB / 1.012 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.1954, allocations: 4 kB / 1.012 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.1958, allocations: 398.9 kB / 1.013 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.1964, allocations: 304.2 kB / 1.013 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.1992, allocations: 1.607 MB / 1.015 GB, free: 8.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1993, allocations: 211.1 kB / 1.015 GB, free: 8.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006522/0.2, allocations: 203 kB / 1.015 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/0.201, allocations: 311 kB / 1.015 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of SimCode: time 8.52e-07/0.201, allocations: 0 / 1.015 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of Templates: time 0.02668/0.2276, allocations: 17.56 MB / 1.033 GB, free: 6.777 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.165262528695166]