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.001798/0.001798, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001966/0.001966, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.003324/0.003324, allocations: 246.8 kB / 259.8 MB, free: 12.86 MB / 250.7 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.189/1.189, allocations: 138.4 MB / 454.7 MB, free: 1.516 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.73e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002903/0.00293, allocations: 1.53 MB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004322, allocations: 0.5343 MB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.004374, allocations: 3.938 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.004473, allocations: 7.922 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.004591, allocations: 31.78 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.005435, allocations: 311.3 kB / 0.5567 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.006065, allocations: 491.4 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.00611, allocations: 4 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.006699, allocations: 355.6 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.007024, allocations: 127.7 kB / 0.5576 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.007161, allocations: 28 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.007297, allocations: 28 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.007464, allocations: 119.6 kB / 0.5578 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.007661, allocations: 131.7 kB / 0.5579 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.00827, allocations: 462.7 kB / 0.5583 GB, free: 12.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.008274, allocations: 4 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008275, allocations: 0 / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.00828, allocations: 0 / 0.5583 GB, free: 12.75 MB / 490.7 MB 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.001483/0.009764, allocations: 0.9141 MB / 0.5592 GB, free: 11.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.0098, allocations: 12.75 kB / 0.5592 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.009965, allocations: 60.69 kB / 0.5593 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.0105, allocations: 262.7 kB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.01054, allocations: 16.36 kB / 0.5596 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.01063, allocations: 32.36 kB / 0.5596 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.01128, allocations: 198 kB / 0.5598 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.0113, allocations: 192 / 0.5598 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.01132, allocations: 4.359 kB / 0.5598 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.01133, allocations: 4.375 kB / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.01174, allocations: 79.89 kB / 0.5599 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.01226, allocations: 348.4 kB / 0.5602 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.01289, allocations: 158.8 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.0133, allocations: 87.64 kB / 0.5604 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.01333, allocations: 4 kB / 0.5604 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.0139, allocations: 204.9 kB / 0.5606 GB, free: 10.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.0139, allocations: 0 / 0.5606 GB, free: 10.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001592/0.01549, allocations: 441.1 kB / 0.5611 GB, free: 9.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.01555, allocations: 59.41 kB / 0.5611 GB, free: 9.719 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.01635, allocations: 470.6 kB / 0.5616 GB, free: 9.246 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.01642, allocations: 41.69 kB / 0.5616 GB, free: 9.199 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.01654, allocations: 144.2 kB / 0.5617 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.0166, allocations: 51.62 kB / 0.5618 GB, free: 9.004 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.01684, allocations: 143.1 kB / 0.5619 GB, free: 8.855 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00028/0.01712, allocations: 0.5001 MB / 0.5624 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.01749, allocations: 211.3 kB / 0.5626 GB, free: 8.125 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.01793, allocations: 293 kB / 0.5629 GB, free: 7.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.01841, allocations: 311.7 kB / 0.5632 GB, free: 7.453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.01841, allocations: 8 kB / 0.5632 GB, free: 7.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001086/0.0195, allocations: 0.6094 MB / 0.5638 GB, free: 6.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.659e-05/0.01959, allocations: 83.38 kB / 0.5639 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.0196, allocations: 4 kB / 0.5639 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.01962, allocations: 4 kB / 0.5639 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.01982, allocations: 35.91 kB / 0.5639 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01984, allocations: 3.938 kB / 0.5639 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.0202, allocations: 52.05 kB / 0.564 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.0203, allocations: 59.98 kB / 0.564 GB, free: 6.555 MB / 490.7 MB 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.000205/0.02051, allocations: 190.5 kB / 0.5642 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.0206, allocations: 47.7 kB / 0.5642 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.02067, allocations: 35.69 kB / 0.5643 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.02067, allocations: 0 / 0.5643 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.02067, allocations: 3.938 kB / 0.5643 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.02068, allocations: 3.938 kB / 0.5643 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.02243, allocations: 0.7473 MB / 0.565 GB, free: 5.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02243, allocations: 0 / 0.565 GB, free: 5.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.02247, allocations: 4 kB / 0.565 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.02247, allocations: 0 / 0.565 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.02251, allocations: 23.91 kB / 0.565 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.02251, allocations: 4 kB / 0.5651 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.02252, allocations: 0 / 0.5651 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.0237, allocations: 0.4956 MB / 0.5655 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.02402, allocations: 125.6 kB / 0.5657 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.0241, allocations: 11.94 kB / 0.5657 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.02439, allocations: 19.98 kB / 0.5657 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.02443, allocations: 11.97 kB / 0.5657 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/0.02452, allocations: 67.97 kB / 0.5658 GB, free: 4.695 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003042/0.02482, allocations: 291 kB / 0.566 GB, free: 4.418 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02482, allocations: 4 kB / 0.566 GB, free: 4.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.02519, allocations: 64 kB / 0.5661 GB, free: 4.352 MB / 490.7 MB 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.0001845/0.02537, allocations: 119.2 kB / 0.5662 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.02655, allocations: 0.5913 MB / 0.5668 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02655, allocations: 0 / 0.5668 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.027, allocations: 108 kB / 0.5669 GB, free: 3.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.0274, allocations: 55.02 kB / 0.5669 GB, free: 3.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.02852, allocations: 0.491 MB / 0.5674 GB, free: 2.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.02871, allocations: 159 kB / 0.5676 GB, free: 2.734 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.833e-05/0.02877, allocations: 13.16 kB / 0.5676 GB, free: 2.723 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.02883, allocations: 20.48 kB / 0.5676 GB, free: 2.703 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02883, allocations: 0 / 0.5676 GB, free: 2.703 MB / 490.7 MB Notification: Performance of Templates: time 0.01186/0.04069, allocations: 5.896 MB / 0.5734 GB, free: 12.76 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.783242277917452]