Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000912/0.000912, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000933/0.000933, allocations: 181 kB / 23.36 MB, free: 1.133 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.9684/0.9684, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.371/2.371, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.424e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004691/0.004706, allocations: 4.946 MB / 0.8434 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.143, allocations: 146.1 MB / 0.9861 GB, free: 6.508 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.1438, allocations: 23.81 kB / 0.9861 GB, free: 6.484 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.1443, allocations: 206 kB / 0.9863 GB, free: 6.281 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.1456, allocations: 0.6095 MB / 0.9869 GB, free: 5.668 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.147, allocations: 0.8958 MB / 0.9878 GB, free: 4.77 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1482, allocations: 1.537 MB / 0.9893 GB, free: 3.227 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.1487, allocations: 480.5 kB / 0.9898 GB, free: 2.727 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006596/0.1494, allocations: 0.8341 MB / 0.9906 GB, free: 1.891 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.1497, allocations: 418.8 kB / 0.991 GB, free: 1.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1498, allocations: 120 kB / 0.9911 GB, free: 1.363 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.1504, allocations: 0.5072 MB / 0.9916 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1506, allocations: 318.9 kB / 0.9919 GB, free: 0.543 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.1508, allocations: 418.8 kB / 0.9923 GB, free: 136 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1519, allocations: 1.335 MB / 0.9936 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1519, allocations: 0 / 0.9936 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1519, allocations: 0 / 0.9936 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.1519, allocations: 0 / 0.9936 GB, free: 14.79 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001305/0.1532, allocations: 1.448 MB / 0.995 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1532, allocations: 12.62 kB / 0.995 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.1557, allocations: 0.8394 MB / 0.9958 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.1564, allocations: 0.6017 MB / 0.9964 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.1564, allocations: 78.12 kB / 0.9965 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1565, allocations: 99.98 kB / 0.9966 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1578, allocations: 1.266 MB / 0.9978 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1578, allocations: 4 kB / 0.9978 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.1578, allocations: 40 kB / 0.9979 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.1579, allocations: 28 kB / 0.9979 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.1587, allocations: 0.8447 MB / 0.9987 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.1615, allocations: 2.104 MB / 1.001 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1625, allocations: 0.7037 MB / 1.001 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.1628, allocations: 283.8 kB / 1.002 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.1628, allocations: 36.97 kB / 1.002 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008017/0.1636, allocations: 0.6631 MB / 1.002 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 1.974e-06/0.1636, allocations: 0 / 1.002 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=90): time 0.001368/0.165, allocations: 0.9131 MB / 1.003 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.1651, allocations: 196.9 kB / 1.003 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1654, allocations: 0.5094 MB / 1.004 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.1655, allocations: 49.7 kB / 1.004 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.1658, allocations: 362.4 kB / 1.004 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.1659, allocations: 297.4 kB / 1.005 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.1661, allocations: 178.5 kB / 1.005 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1663, allocations: 398.5 kB / 1.005 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1665, allocations: 232.8 kB / 1.005 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.1668, allocations: 455.6 kB / 1.006 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.1673, allocations: 473.2 kB / 1.006 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1673, allocations: 0 / 1.006 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008556/0.1682, allocations: 0.6631 MB / 1.007 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1682, allocations: 4 kB / 1.007 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1682, allocations: 4 kB / 1.007 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.1686, allocations: 120.7 kB / 1.007 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.1693, allocations: 287.6 kB / 1.007 GB, free: 272 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009616/0.1702, allocations: 1.324 MB / 1.009 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.1707, allocations: 171.5 kB / 1.009 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.1708, allocations: 35.95 kB / 1.009 GB, free: 14.65 MB / 0.9792 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 (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.000477/0.1713, allocations: 175 kB / 1.009 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1714, allocations: 83.98 kB / 1.009 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.1725, allocations: 0.884 MB / 1.01 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1725, allocations: 12 kB / 1.01 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1725, allocations: 0 / 1.01 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1725, allocations: 7.969 kB / 1.01 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.1741, allocations: 1.413 MB / 1.011 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1741, allocations: 3.938 kB / 1.011 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.1747, allocations: 247.7 kB / 1.012 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.175, allocations: 112.7 kB / 1.012 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.175, allocations: 31.91 kB / 1.012 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000795/0.1758, allocations: 1.322 MB / 1.013 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1758, allocations: 0 / 1.013 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.1767, allocations: 0.7782 MB / 1.014 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.1769, allocations: 159.1 kB / 1.014 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.177, allocations: 24 kB / 1.014 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.1775, allocations: 139.9 kB / 1.014 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.1776, allocations: 72.8 kB / 1.014 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.1776, allocations: 27.91 kB / 1.014 GB, free: 8.992 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001876/0.1778, allocations: 255.4 kB / 1.014 GB, free: 8.742 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1778, allocations: 0 / 1.014 GB, free: 8.742 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006473/0.1785, allocations: 387 kB / 1.015 GB, free: 8.363 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 (100): * Single equations (assignments): 89 * 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.001451/0.1799, allocations: 0.754 MB / 1.016 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.181, allocations: 0.8027 MB / 1.016 GB, free: 7.062 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.181, allocations: 7.984 kB / 1.016 GB, free: 7.055 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.1815, allocations: 0.5264 MB / 1.017 GB, free: 6.516 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.1822, allocations: 318.5 kB / 1.017 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1842, allocations: 1.71 MB / 1.019 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.1843, allocations: 203 kB / 1.019 GB, free: 4.262 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005466/0.1849, allocations: 238.9 kB / 1.019 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/0.1855, allocations: 322.9 kB / 1.02 GB, free: 3.707 MB / 0.9792 GB Notification: Performance of SimCode: time 9.51e-07/0.1855, allocations: 0 / 1.02 GB, free: 3.707 MB / 0.9792 GB Notification: Performance of Templates: time 0.0225/0.208, allocations: 19.69 MB / 1.039 GB, free: 340 kB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.939686101395637]