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.001531/0.001531, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001661/0.001661, allocations: 177 kB / 23.36 MB, free: 1.137 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.9746/0.9746, 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.279/2.279, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.404e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.0047/0.004714, allocations: 4.934 MB / 0.8434 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.1485, allocations: 146.1 MB / 0.9861 GB, free: 6.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.1492, allocations: 23.81 kB / 0.9861 GB, free: 6.566 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.1497, allocations: 198.1 kB / 0.9863 GB, free: 6.371 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.1511, allocations: 0.6095 MB / 0.9869 GB, free: 5.758 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1526, allocations: 0.8996 MB / 0.9877 GB, free: 4.855 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.1541, allocations: 1.537 MB / 0.9892 GB, free: 3.312 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.1547, allocations: 474.9 kB / 0.9897 GB, free: 2.816 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008527/0.1556, allocations: 0.842 MB / 0.9905 GB, free: 1.973 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.1559, allocations: 422.8 kB / 0.9909 GB, free: 1.559 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.1561, allocations: 124 kB / 0.991 GB, free: 1.438 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.1568, allocations: 0.4954 MB / 0.9915 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.157, allocations: 322.9 kB / 0.9918 GB, free: 0.625 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.1573, allocations: 418.9 kB / 0.9922 GB, free: 220 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1585, allocations: 1.327 MB / 0.9935 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1585, allocations: 0 / 0.9935 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1585, allocations: 0 / 0.9935 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1585, allocations: 0 / 0.9935 GB, free: 14.88 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.001469/0.16, allocations: 1.456 MB / 0.9949 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.16, allocations: 8.625 kB / 0.995 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1611, allocations: 403.9 kB / 0.9953 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.1619, allocations: 0.5892 MB / 0.9959 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.162, allocations: 86.12 kB / 0.996 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.1621, allocations: 104 kB / 0.9961 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1633, allocations: 0.9724 MB / 0.997 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1633, allocations: 0 / 0.997 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.1634, allocations: 44 kB / 0.9971 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1634, allocations: 28 kB / 0.9971 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.1641, allocations: 0.6221 MB / 0.9977 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.1664, allocations: 1.718 MB / 0.9994 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.1673, allocations: 0.4931 MB / 0.9999 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1674, allocations: 151.8 kB / 1 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.1675, allocations: 32.92 kB / 1 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.1679, allocations: 495.3 kB / 1.001 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=92): time 2.825e-06/0.1679, allocations: 0 / 1.001 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=92): time 0.001073/0.1689, allocations: 0.5967 MB / 1.001 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.169, allocations: 204.9 kB / 1.001 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.1694, allocations: 0.5016 MB / 1.002 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.1694, allocations: 45.7 kB / 1.002 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1696, allocations: 374.3 kB / 1.002 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.1698, allocations: 309.4 kB / 1.002 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.1699, allocations: 178.4 kB / 1.003 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.17, allocations: 394.5 kB / 1.003 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.1704, allocations: 104.8 kB / 1.003 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1707, allocations: 331.6 kB / 1.003 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.171, allocations: 353.2 kB / 1.004 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.171, allocations: 0 / 1.004 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006586/0.1717, allocations: 499 kB / 1.004 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1717, allocations: 8 kB / 1.004 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1717, allocations: 0 / 1.004 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.1721, allocations: 124.7 kB / 1.004 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.1725, allocations: 191.8 kB / 1.005 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/0.1735, allocations: 1.304 MB / 1.006 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.1738, allocations: 97.55 kB / 1.006 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.1738, allocations: 27.97 kB / 1.006 GB, free: 1.641 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.0001912/0.174, allocations: 179.2 kB / 1.006 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.1741, allocations: 79.86 kB / 1.006 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/0.175, allocations: 0.6537 MB / 1.007 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.175, allocations: 12 kB / 1.007 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.175, allocations: 4 kB / 1.007 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.175, allocations: 3.984 kB / 1.007 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1764, allocations: 1.175 MB / 1.008 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1764, allocations: 0 / 1.008 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.1767, allocations: 151.8 kB / 1.008 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/0.177, allocations: 120.6 kB / 1.008 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.1771, allocations: 23.98 kB / 1.008 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008499/0.1779, allocations: 1.329 MB / 1.01 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1779, allocations: 0 / 1.01 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1789, allocations: 0.5984 MB / 1.01 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.1792, allocations: 159.1 kB / 1.01 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.1793, allocations: 19.98 kB / 1.01 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.1796, allocations: 51.97 kB / 1.01 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1797, allocations: 68.8 kB / 1.01 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.1798, allocations: 27.97 kB / 1.011 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002457/0.18, allocations: 243.4 kB / 1.011 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.18, allocations: 0 / 1.011 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008349/0.1809, allocations: 371 kB / 1.011 GB, free: 12.22 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.001819/0.1827, allocations: 0.7585 MB / 1.012 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008517/0.1835, allocations: 0.5446 MB / 1.012 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.1836, allocations: 4 kB / 1.012 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.184, allocations: 394.9 kB / 1.013 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.1848, allocations: 318 kB / 1.013 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.1873, allocations: 1.604 MB / 1.015 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.1875, allocations: 199.2 kB / 1.015 GB, free: 8.617 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005572/0.1881, allocations: 206.9 kB / 1.015 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.1887, allocations: 315 kB / 1.015 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/0.1887, allocations: 0 / 1.015 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of Templates: time 0.02541/0.2141, allocations: 17.55 MB / 1.032 GB, free: 6.898 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 -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: 5.929011364933103]