Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001449/0.001449, 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.001536/0.001536, allocations: 169 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 1.015/1.015, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.93/1.93, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.718e-05, allocations: 6.688 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006634/0.006661, allocations: 5.026 MB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.1489, allocations: 146.4 MB / 0.9594 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009056/0.1498, allocations: 23.81 kB / 0.9594 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.1504, allocations: 213.9 kB / 0.9596 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.1521, allocations: 0.5901 MB / 0.9602 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.154, allocations: 0.9036 MB / 0.9611 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.1555, allocations: 1.549 MB / 0.9626 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006942/0.1562, allocations: 448.7 kB / 0.963 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009231/0.1571, allocations: 0.8108 MB / 0.9638 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.1576, allocations: 448.9 kB / 0.9642 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1578, allocations: 132 kB / 0.9644 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009205/0.1587, allocations: 0.5189 MB / 0.9649 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.159, allocations: 354.7 kB / 0.9652 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.1593, allocations: 426.9 kB / 0.9656 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.1609, allocations: 1.37 MB / 0.967 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1609, allocations: 0 / 0.967 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1609, allocations: 0 / 0.967 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.1609, allocations: 0 / 0.967 GB, free: 2.367 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002099/0.163, allocations: 1.601 MB / 0.9685 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1631, allocations: 8.031 kB / 0.9685 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.1645, allocations: 383.4 kB / 0.9689 GB, free: 344 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1656, allocations: 0.7481 MB / 0.9696 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.1657, allocations: 78.12 kB / 0.9697 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.1658, allocations: 112 kB / 0.9698 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.1671, allocations: 1.083 MB / 0.9709 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.1671, allocations: 3.938 kB / 0.9709 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.1672, allocations: 44 kB / 0.9709 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.1672, allocations: 24 kB / 0.9709 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.1685, allocations: 0.8309 MB / 0.9717 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.1718, allocations: 2.508 MB / 0.9742 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1729, allocations: 0.5378 MB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.1733, allocations: 186.9 kB / 0.9749 GB, free: 9.98 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.1736, allocations: 80.92 kB / 0.975 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006468/0.1742, allocations: 0.5105 MB / 0.9755 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 3.276e-06/0.1742, allocations: 0 / 0.9755 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.002065/0.1763, allocations: 0.8743 MB / 0.9763 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.1764, allocations: 204.9 kB / 0.9765 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.177, allocations: 0.5815 MB / 0.9771 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.1771, allocations: 53.69 kB / 0.9771 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.1774, allocations: 487.9 kB / 0.9776 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.1776, allocations: 305.5 kB / 0.9779 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.1777, allocations: 188.2 kB / 0.9781 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1779, allocations: 0.5664 MB / 0.9786 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1781, allocations: 157.9 kB / 0.9788 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.1785, allocations: 389.8 kB / 0.9791 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.179, allocations: 415.1 kB / 0.9795 GB, free: 5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.179, allocations: 0 / 0.9795 GB, free: 5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001034/0.1801, allocations: 0.6997 MB / 0.9802 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1801, allocations: 7.984 kB / 0.9802 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1801, allocations: 4 kB / 0.9802 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.1806, allocations: 131.7 kB / 0.9804 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.181, allocations: 179.8 kB / 0.9805 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.1824, allocations: 1.905 MB / 0.9824 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.1828, allocations: 90.25 kB / 0.9825 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.1829, allocations: 39.97 kB / 0.9825 GB, free: 1.812 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 (109): * Single equations (assignments): 108 * 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.0002678/0.1831, allocations: 215 kB / 0.9827 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1833, allocations: 115.4 kB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.1845, allocations: 0.885 MB / 0.9837 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1845, allocations: 12 kB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1845, allocations: 0 / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1846, allocations: 11.91 kB / 0.9837 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.1866, allocations: 1.706 MB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1866, allocations: 0 / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.187, allocations: 147.8 kB / 0.9855 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.1873, allocations: 107.6 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.1874, allocations: 35.97 kB / 0.9857 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.1885, allocations: 1.926 MB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1885, allocations: 0 / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1896, allocations: 0.9039 MB / 0.9884 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.1899, allocations: 203.1 kB / 0.9886 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.19, allocations: 27.97 kB / 0.9887 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.1903, allocations: 52.02 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1904, allocations: 76.86 kB / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.1905, allocations: 39.97 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003173/0.1908, allocations: 391 kB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1908, allocations: 0 / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007572/0.1916, allocations: 379 kB / 0.9895 GB, free: 10.38 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 (101): * Single equations (assignments): 90 * 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.001348/0.1929, allocations: 0.6492 MB / 0.9902 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009817/0.1939, allocations: 0.6953 MB / 0.9909 GB, free: 9.176 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1939, allocations: 0 / 0.9909 GB, free: 9.176 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.1944, allocations: 0.4894 MB / 0.9913 GB, free: 8.664 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.1951, allocations: 324.5 kB / 0.9916 GB, free: 8.367 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.1975, allocations: 1.63 MB / 0.9932 GB, free: 6.703 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1976, allocations: 203 kB / 0.9934 GB, free: 6.484 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005217/0.1981, allocations: 270.7 kB / 0.9937 GB, free: 6.215 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.1983, allocations: 112.4 kB / 0.9938 GB, free: 6.105 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/0.1983, allocations: 0 / 0.9938 GB, free: 6.105 MB / 0.948 GB Notification: Performance of Templates: time 0.01979/0.2181, allocations: 16.3 MB / 1.01 GB, free: 6.09 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.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.966085716849193]