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.00101/0.00101, allocations: 84.8 kB / 20.75 MB, free: 3.734 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.001055/0.001055, allocations: 161 kB / 24.16 MB, free: 332 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.033/1.033, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.973/1.973, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.603e-06/1.603e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.62e-05, allocations: 2.312 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005229/0.005255, allocations: 5.005 MB / 0.7649 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.1449, allocations: 146.1 MB / 0.9076 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.1457, allocations: 23.81 kB / 0.9077 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.1462, allocations: 202 kB / 0.9079 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.1476, allocations: 0.5861 MB / 0.9084 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.149, allocations: 0.8801 MB / 0.9093 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1502, allocations: 1.541 MB / 0.9108 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.1508, allocations: 464.5 kB / 0.9112 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1518, allocations: 0.8458 MB / 0.9121 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.1522, allocations: 410.8 kB / 0.9125 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1523, allocations: 120 kB / 0.9126 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007585/0.153, allocations: 0.5423 MB / 0.9131 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.1532, allocations: 318.8 kB / 0.9134 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.1535, allocations: 422.9 kB / 0.9138 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1546, allocations: 1.331 MB / 0.9151 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1546, allocations: 4 kB / 0.9151 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1546, allocations: 0 / 0.9151 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.1546, allocations: 0 / 0.9151 GB, free: 7.383 MB / 0.8698 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.001385/0.156, allocations: 1.456 MB / 0.9165 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.156, allocations: 8.031 kB / 0.9165 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.157, allocations: 348.1 kB / 0.9169 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.1577, allocations: 0.6017 MB / 0.9175 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.1578, allocations: 82.11 kB / 0.9175 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.1579, allocations: 100 kB / 0.9176 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.1587, allocations: 0.946 MB / 0.9186 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1587, allocations: 0 / 0.9186 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.1587, allocations: 47.98 kB / 0.9186 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002813/0.159, allocations: 24 kB / 0.9186 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.1596, allocations: 0.5909 MB / 0.9192 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.1616, allocations: 1.765 MB / 0.9209 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.1621, allocations: 422.5 kB / 0.9213 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1623, allocations: 143.8 kB / 0.9215 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.1625, allocations: 84.91 kB / 0.9215 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.1628, allocations: 471.3 kB / 0.922 GB, free: 92 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=90): time 2.215e-06/0.1628, allocations: 0 / 0.922 GB, free: 92 kB / 0.8698 GB Notification: Performance of matching and sorting (n=90): time 0.001033/0.1639, allocations: 0.585 MB / 0.9226 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.1639, allocations: 200.9 kB / 0.9228 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.1643, allocations: 0.5055 MB / 0.9233 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.1643, allocations: 45.7 kB / 0.9233 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1645, allocations: 374.3 kB / 0.9237 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.1646, allocations: 297.4 kB / 0.9239 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1648, allocations: 174.5 kB / 0.9241 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1649, allocations: 398.5 kB / 0.9245 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1651, allocations: 100.8 kB / 0.9246 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1653, allocations: 319.6 kB / 0.9249 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.1656, allocations: 341.2 kB / 0.9252 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1656, allocations: 0 / 0.9252 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0009046/0.1665, allocations: 479 kB / 0.9257 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1665, allocations: 4 kB / 0.9257 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1665, allocations: 4 kB / 0.9257 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.1669, allocations: 120.7 kB / 0.9258 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.1673, allocations: 195.7 kB / 0.926 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.1683, allocations: 1.309 MB / 0.9273 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.1686, allocations: 83.56 kB / 0.9273 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.1686, allocations: 31.97 kB / 0.9274 GB, free: 10.33 MB / 0.8855 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.0001792/0.1688, allocations: 179.1 kB / 0.9275 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.1689, allocations: 79.92 kB / 0.9276 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.1697, allocations: 0.6341 MB / 0.9282 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1697, allocations: 8 kB / 0.9282 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1697, allocations: 4 kB / 0.9282 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1698, allocations: 3.984 kB / 0.9282 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.171, allocations: 1.148 MB / 0.9294 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.171, allocations: 0 / 0.9294 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.1714, allocations: 151.8 kB / 0.9295 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.1717, allocations: 112.8 kB / 0.9296 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.1717, allocations: 27.91 kB / 0.9296 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008406/0.1725, allocations: 1.325 MB / 0.9309 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1725, allocations: 0 / 0.9309 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.1732, allocations: 0.579 MB / 0.9315 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.1734, allocations: 155.1 kB / 0.9317 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.1734, allocations: 27.98 kB / 0.9317 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1737, allocations: 35.97 kB / 0.9317 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.1738, allocations: 76.8 kB / 0.9318 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.1738, allocations: 31.91 kB / 0.9318 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001912/0.174, allocations: 247.4 kB / 0.9321 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.174, allocations: 0 / 0.9321 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006488/0.1746, allocations: 379 kB / 0.9324 GB, free: 4.973 MB / 0.8855 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.001758/0.1764, allocations: 0.7825 MB / 0.9332 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006353/0.177, allocations: 0.5176 MB / 0.9337 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.177, allocations: 8 kB / 0.9337 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.1774, allocations: 383.1 kB / 0.9341 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.178, allocations: 304.9 kB / 0.9343 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.18, allocations: 1.581 MB / 0.9359 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.1802, allocations: 203 kB / 0.9361 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004075/0.1806, allocations: 190.9 kB / 0.9363 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.1811, allocations: 311 kB / 0.9366 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of SimCode: time 6.82e-07/0.1811, allocations: 4 kB / 0.9366 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of Templates: time 0.02087/0.202, allocations: 17.48 MB / 0.9536 GB, free: 15.76 MB / 0.9167 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 -s gbode -gbm=radauIIA3 -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: 6.044497703202069]