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.0009892/0.0009892, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009782/0.0009782, allocations: 165 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.9415/0.9415, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.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.744e-06/1.744e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.812e-05, allocations: 3.078 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005464/0.005492, allocations: 5.06 MB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1454/0.1509, allocations: 146.7 MB / 0.9597 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.1518, allocations: 23.81 kB / 0.9597 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.1524, allocations: 218 kB / 0.9599 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.1539, allocations: 0.6017 MB / 0.9605 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1555, allocations: 0.8997 MB / 0.9614 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.157, allocations: 1.549 MB / 0.9629 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.1576, allocations: 448.7 kB / 0.9633 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.1587, allocations: 0.8497 MB / 0.9641 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.1592, allocations: 414.8 kB / 0.9645 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1593, allocations: 120 kB / 0.9647 GB, free: 4.402 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.1602, allocations: 0.511 MB / 0.9652 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.1604, allocations: 322.9 kB / 0.9655 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.1609, allocations: 414.9 kB / 0.9659 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1628, allocations: 1.343 MB / 0.9672 GB, free: 1.816 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1628, allocations: 4 kB / 0.9672 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1628, allocations: 0 / 0.9672 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.84e-05/0.1629, 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002037/0.1649, allocations: 1.593 MB / 0.9687 GB, free: 176 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1649, allocations: 8.031 kB / 0.9687 GB, free: 168 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1662, allocations: 379.9 kB / 0.9691 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/0.1671, allocations: 0.7422 MB / 0.9698 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.1672, allocations: 77.56 kB / 0.9699 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.1672, allocations: 100 kB / 0.97 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1684, allocations: 1.022 MB / 0.971 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.1684, allocations: 3.938 kB / 0.971 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.1684, allocations: 36 kB / 0.971 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.1685, allocations: 24 kB / 0.9711 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.1694, allocations: 0.8309 MB / 0.9719 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.1725, allocations: 2.465 MB / 0.9743 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.1734, allocations: 0.5402 MB / 0.9748 GB, free: 9.758 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1736, allocations: 186.6 kB / 0.975 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.1739, allocations: 80.92 kB / 0.9751 GB, free: 9.496 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.1744, allocations: 0.5027 MB / 0.9755 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 3.226e-06/0.1744, allocations: 0 / 0.9755 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001612/0.176, allocations: 0.8743 MB / 0.9764 GB, free: 8.066 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.1761, allocations: 200.9 kB / 0.9766 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.1766, allocations: 0.5776 MB / 0.9772 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.1767, allocations: 53.69 kB / 0.9772 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.177, allocations: 488 kB / 0.9777 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.1772, allocations: 293.5 kB / 0.9779 GB, free: 6.402 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.1774, allocations: 192.2 kB / 0.9781 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1776, allocations: 0.5664 MB / 0.9787 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1778, allocations: 149.9 kB / 0.9788 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.1782, allocations: 393.8 kB / 0.9792 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.1787, allocations: 419.1 kB / 0.9796 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1787, allocations: 0 / 0.9796 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001075/0.1798, allocations: 0.6958 MB / 0.9803 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.1798, allocations: 4 kB / 0.9803 GB, free: 3.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1798, allocations: 7.938 kB / 0.9803 GB, free: 3.902 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004612/0.1803, allocations: 131.6 kB / 0.9804 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.181, allocations: 179.8 kB / 0.9806 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1824, allocations: 1.906 MB / 0.9825 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.1827, allocations: 75.59 kB / 0.9825 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.1828, allocations: 43.97 kB / 0.9826 GB, free: 1.445 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.0002397/0.183, allocations: 226.9 kB / 0.9828 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.1831, allocations: 115.4 kB / 0.9829 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1843, allocations: 0.8772 MB / 0.9837 GB, free: 208 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1843, allocations: 12 kB / 0.9838 GB, free: 196 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1843, allocations: 7.922 kB / 0.9838 GB, free: 188 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1843, allocations: 3.984 kB / 0.9838 GB, free: 184 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1863, allocations: 1.675 MB / 0.9854 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1863, allocations: 0 / 0.9854 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.1866, allocations: 147.8 kB / 0.9855 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/0.1869, allocations: 119.6 kB / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.187, allocations: 27.98 kB / 0.9857 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.1884, allocations: 1.93 MB / 0.9876 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1884, allocations: 0 / 0.9876 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1894, allocations: 0.9039 MB / 0.9885 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.1897, allocations: 199.1 kB / 0.9886 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/0.1898, allocations: 24 kB / 0.9887 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.19, allocations: 40.03 kB / 0.9887 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.1901, allocations: 76.86 kB / 0.9888 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.1902, allocations: 39.97 kB / 0.9888 GB, free: 10.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002912/0.1904, allocations: 387 kB / 0.9892 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1904, allocations: 0 / 0.9892 GB, free: 10.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007615/0.1912, allocations: 374.9 kB / 0.9895 GB, free: 10.06 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.001266/0.1925, allocations: 0.6485 MB / 0.9902 GB, free: 9.582 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.1935, allocations: 0.6954 MB / 0.9909 GB, free: 8.863 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1935, allocations: 4 kB / 0.9909 GB, free: 8.859 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.194, allocations: 493 kB / 0.9913 GB, free: 8.355 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.1948, allocations: 326.4 kB / 0.9916 GB, free: 8.059 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1972, allocations: 1.611 MB / 0.9932 GB, free: 6.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.1973, allocations: 211 kB / 0.9934 GB, free: 6.184 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005112/0.1979, allocations: 262.7 kB / 0.9937 GB, free: 5.922 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.198, allocations: 112.4 kB / 0.9938 GB, free: 5.812 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/0.198, allocations: 0 / 0.9938 GB, free: 5.812 MB / 0.948 GB Notification: Performance of Templates: time 0.02094/0.219, allocations: 17.09 MB / 1.01 GB, free: 5.023 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.678535762242973]