Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001542/0.001542, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00167/0.00167, allocations: 216.1 kB / 23.01 MB, free: 4.566 MB / 14.72 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002448/0.002448, allocations: 285.9 kB / 313.5 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.17/1.17, allocations: 180.6 MB / 0.5377 GB, free: 13.01 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 105.7 kB / 0.7408 GB, free: 27.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1642, allocations: 95.37 MB / 0.8339 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002884/0.1671, allocations: 1.571 MB / 0.8355 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1683, allocations: 0.549 MB / 0.836 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.1684, allocations: 0 / 0.836 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.1685, allocations: 7.875 kB / 0.836 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1686, allocations: 27.84 kB / 0.836 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.1693, allocations: 314.1 kB / 0.8363 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.1698, allocations: 487.4 kB / 0.8368 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.1699, allocations: 7.984 kB / 0.8368 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.1702, allocations: 279.6 kB / 0.8371 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1705, allocations: 153.5 kB / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.1706, allocations: 24 kB / 0.8372 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.1707, allocations: 28 kB / 0.8373 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1708, allocations: 115.7 kB / 0.8374 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.171, allocations: 187 kB / 0.8376 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.1714, allocations: 426.4 kB / 0.838 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1714, allocations: 0 / 0.838 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1714, allocations: 0 / 0.838 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1714, allocations: 0 / 0.838 GB, free: 3.898 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001248/0.1727, allocations: 0.8106 MB / 0.8388 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1727, allocations: 9.344 kB / 0.8388 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1728, allocations: 48.7 kB / 0.8388 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.1732, allocations: 264.7 kB / 0.8391 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.1733, allocations: 16.38 kB / 0.8391 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.1733, allocations: 28.36 kB / 0.8391 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.1742, allocations: 210 kB / 0.8393 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1742, allocations: 4.188 kB / 0.8393 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1742, allocations: 3.938 kB / 0.8393 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1742, allocations: 0 / 0.8393 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.1749, allocations: 107.9 kB / 0.8394 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.1753, allocations: 356.4 kB / 0.8398 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/0.1763, allocations: 170.4 kB / 0.8399 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.1769, allocations: 100.8 kB / 0.84 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.177, allocations: 4 kB / 0.84 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008456/0.1778, allocations: 223.1 kB / 0.8402 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1778, allocations: 0 / 0.8402 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002267/0.1801, allocations: 492.9 kB / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1801, allocations: 67.38 kB / 0.8408 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.1806, allocations: 405.9 kB / 0.8412 GB, free: 444 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.1806, allocations: 45.69 kB / 0.8412 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.1807, allocations: 89.45 kB / 0.8413 GB, free: 300 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.1807, allocations: 47.69 kB / 0.8413 GB, free: 252 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.1809, allocations: 125.5 kB / 0.8414 GB, free: 120 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1811, allocations: 322.8 kB / 0.8418 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1813, allocations: 115.9 kB / 0.8419 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.1816, allocations: 171.6 kB / 0.842 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.182, allocations: 279.8 kB / 0.8423 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.182, allocations: 0 / 0.8423 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008065/0.1828, allocations: 0.4889 MB / 0.8428 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/0.1829, allocations: 91.3 kB / 0.8429 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1829, allocations: 0 / 0.8429 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1829, allocations: 4 kB / 0.8429 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1831, allocations: 23.98 kB / 0.8429 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1831, allocations: 3.938 kB / 0.8429 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.1835, allocations: 67.97 kB / 0.843 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/0.1836, allocations: 63.95 kB / 0.843 GB, free: 14.42 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.1838, allocations: 196.4 kB / 0.8432 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.1839, allocations: 39.7 kB / 0.8432 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.1839, allocations: 35.69 kB / 0.8433 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.184, allocations: 0 / 0.8433 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.184, allocations: 11.92 kB / 0.8433 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.184, allocations: 0 / 0.8433 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.186, allocations: 0.7151 MB / 0.844 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.186, allocations: 0 / 0.844 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.186, allocations: 7.938 kB / 0.844 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.186, allocations: 8 kB / 0.844 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.1861, allocations: 23.97 kB / 0.844 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1861, allocations: 0 / 0.844 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1861, allocations: 0 / 0.844 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.1876, allocations: 475.4 kB / 0.8445 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.1879, allocations: 133.5 kB / 0.8446 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.188, allocations: 12 kB / 0.8446 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.1884, allocations: 31.97 kB / 0.8446 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1885, allocations: 7.984 kB / 0.8447 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.1885, allocations: 59.97 kB / 0.8447 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003028/0.1888, allocations: 295.1 kB / 0.845 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1888, allocations: 4 kB / 0.845 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000322/0.1891, allocations: 63.98 kB / 0.8451 GB, free: 12.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.1893, allocations: 132.3 kB / 0.8452 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.1904, allocations: 402.8 kB / 0.8456 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1904, allocations: 0 / 0.8456 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.1911, allocations: 111.9 kB / 0.8457 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1915, allocations: 34.56 kB / 0.8457 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1928, allocations: 0.5921 MB / 0.8463 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1933, allocations: 0.7747 MB / 0.847 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1933, allocations: 15.44 kB / 0.8471 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.1933, allocations: 0 / 0.8471 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.005698/0.199, allocations: 3.698 MB / 0.8507 GB, free: 6.387 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.180176584981382] Failed to read output from testmodel.py, exit status != 0: 0.20618847315199673 0.22067104 0.046344626 Calling exit ...