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.00119/0.00119, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001214/0.001214, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9587/0.9587, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.303e-06/1.303e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.447e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005146/0.00517, allocations: 5.057 MB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1363/0.1415, allocations: 146.7 MB / 0.9597 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.1424, allocations: 23.81 kB / 0.9597 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1431, allocations: 210 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.1449, allocations: 0.5979 MB / 0.9605 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.1467, allocations: 0.8998 MB / 0.9614 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.1485, allocations: 1.553 MB / 0.9629 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.1494, allocations: 452.6 kB / 0.9633 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1506, allocations: 0.8069 MB / 0.9641 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.1513, allocations: 442.7 kB / 0.9645 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.1515, allocations: 136 kB / 0.9646 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1526, allocations: 0.5305 MB / 0.9652 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.1529, allocations: 330.9 kB / 0.9655 GB, free: 3.559 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.1535, allocations: 434.9 kB / 0.9659 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.1555, allocations: 1.374 MB / 0.9672 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1555, allocations: 0 / 0.9672 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1555, allocations: 0 / 0.9672 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.57e-05/0.1556, allocations: 4 kB / 0.9672 GB, free: 1.746 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.002284/0.1578, allocations: 1.597 MB / 0.9688 GB, free: 104 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1579, allocations: 8.031 kB / 0.9688 GB, free: 96 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.1591, allocations: 383.4 kB / 0.9692 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/0.1601, allocations: 0.748 MB / 0.9699 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.1601, allocations: 86.05 kB / 0.97 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1602, allocations: 108 kB / 0.9701 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.1614, allocations: 1.087 MB / 0.9711 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1615, allocations: 4 kB / 0.9712 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.1615, allocations: 36 kB / 0.9712 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1615, allocations: 24 kB / 0.9712 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1625, allocations: 0.8309 MB / 0.972 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.1659, allocations: 2.512 MB / 0.9745 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1669, allocations: 0.5321 MB / 0.975 GB, free: 9.535 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1672, allocations: 187 kB / 0.9752 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.1675, allocations: 80.92 kB / 0.9752 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.1681, allocations: 0.5222 MB / 0.9758 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.746e-06/0.1681, allocations: 0 / 0.9758 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001887/0.1699, allocations: 0.8705 MB / 0.9766 GB, free: 7.828 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1701, allocations: 208.8 kB / 0.9768 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.1706, allocations: 0.5815 MB / 0.9774 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.1707, allocations: 49.7 kB / 0.9774 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.1709, allocations: 487.9 kB / 0.9779 GB, free: 6.445 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.1712, allocations: 301.5 kB / 0.9782 GB, free: 6.148 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.1714, allocations: 188.2 kB / 0.9784 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1715, allocations: 0.5664 MB / 0.9789 GB, free: 5.379 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.1718, allocations: 157.9 kB / 0.9791 GB, free: 5.227 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.1722, allocations: 393.8 kB / 0.9794 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.1729, allocations: 407.1 kB / 0.9798 GB, free: 4.375 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1729, allocations: 4 kB / 0.9798 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00118/0.1741, allocations: 0.7036 MB / 0.9805 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1741, allocations: 8 kB / 0.9805 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1741, allocations: 0 / 0.9805 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.1746, allocations: 127.7 kB / 0.9806 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.1751, allocations: 191.6 kB / 0.9808 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.1766, allocations: 1.902 MB / 0.9827 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.177, allocations: 85.97 kB / 0.9828 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.1771, allocations: 35.97 kB / 0.9828 GB, free: 1.188 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.0003215/0.1774, allocations: 215.1 kB / 0.983 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1776, allocations: 123.4 kB / 0.9831 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.1789, allocations: 0.8848 MB / 0.984 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.1789, allocations: 12 kB / 0.984 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.1789, allocations: 0 / 0.984 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.1789, allocations: 7.984 kB / 0.984 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.1813, allocations: 1.698 MB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1813, allocations: 0 / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.1817, allocations: 155.7 kB / 0.9858 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003833/0.182, allocations: 107.6 kB / 0.9859 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.1821, allocations: 31.97 kB / 0.9859 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.1836, allocations: 1.926 MB / 0.9878 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1836, allocations: 0 / 0.9878 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.1848, allocations: 0.9078 MB / 0.9887 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.1852, allocations: 203.1 kB / 0.9889 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.1853, allocations: 27.97 kB / 0.9889 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.1855, allocations: 47.95 kB / 0.989 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1857, allocations: 80.84 kB / 0.9891 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.1857, allocations: 31.98 kB / 0.9891 GB, free: 10.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003666/0.1861, allocations: 395 kB / 0.9895 GB, free: 10.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1861, allocations: 0 / 0.9895 GB, free: 10.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008597/0.1869, allocations: 382.9 kB / 0.9898 GB, free: 9.754 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.001509/0.1884, allocations: 0.6512 MB / 0.9905 GB, free: 9.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.1896, allocations: 0.6953 MB / 0.9911 GB, free: 8.551 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1896, allocations: 0 / 0.9911 GB, free: 8.551 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.1901, allocations: 0.4933 MB / 0.9916 GB, free: 8.035 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.1909, allocations: 324.7 kB / 0.9919 GB, free: 7.742 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1936, allocations: 1.628 MB / 0.9935 GB, free: 6.078 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.1937, allocations: 207 kB / 0.9937 GB, free: 5.855 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007904/0.1945, allocations: 258.8 kB / 0.994 GB, free: 5.598 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.1947, allocations: 112.4 kB / 0.9941 GB, free: 5.488 MB / 0.948 GB Notification: Performance of SimCode: time 1.432e-06/0.1947, allocations: 0 / 0.9941 GB, free: 5.488 MB / 0.948 GB Notification: Performance of Templates: time 0.02153/0.2163, allocations: 16.31 MB / 1.01 GB, free: 5.465 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.773952400777489]