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.001106/0.001106, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009641/0.0009641, allocations: 169 kB / 24.06 MB, free: 456 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.001709/0.001709, allocations: 241.9 kB / 261.3 MB, free: 12.66 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 0.7561/0.7561, allocations: 138.4 MB / 456.3 MB, free: 30.03 MB / 410.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.402e-06/1.402e-06, allocations: 0 / 0.5563 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.926e-05, allocations: 3.953 kB / 0.5563 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00181/0.00183, allocations: 1.57 MB / 0.5578 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.002733, allocations: 0.5411 MB / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.002788, allocations: 0 / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.952e-05/0.002878, allocations: 7.938 kB / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.002974, allocations: 31.8 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.003542, allocations: 315.2 kB / 0.5587 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.003911, allocations: 491.4 kB / 0.5592 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.003947, allocations: 7.984 kB / 0.5592 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.004273, allocations: 355.6 kB / 0.5595 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.004465, allocations: 131.7 kB / 0.5597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.004512, allocations: 28 kB / 0.5597 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.746e-05/0.00456, allocations: 24 kB / 0.5597 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.004653, allocations: 119.6 kB / 0.5598 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.004752, allocations: 123.7 kB / 0.5599 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.005041, allocations: 382.9 kB / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005042, allocations: 0 / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005043, allocations: 0 / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005047, allocations: 0 / 0.5603 GB, free: 11.83 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.0008322/0.005879, allocations: 0.9066 MB / 0.5612 GB, free: 10.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.005911, allocations: 13.94 kB / 0.5612 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/0.006002, allocations: 60.64 kB / 0.5613 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.00624, allocations: 270.7 kB / 0.5615 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.006304, allocations: 16.36 kB / 0.5615 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.006351, allocations: 28.36 kB / 0.5616 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.006664, allocations: 198.7 kB / 0.5617 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.006673, allocations: 192 / 0.5617 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.006691, allocations: 384 / 0.5617 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006698, allocations: 4.375 kB / 0.5617 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.235e-05/0.00678, allocations: 51.91 kB / 0.5618 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.007024, allocations: 245 kB / 0.562 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.00719, allocations: 121.9 kB / 0.5621 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.007273, allocations: 67.66 kB / 0.5622 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.007287, allocations: 0 / 0.5622 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.007527, allocations: 180.2 kB / 0.5624 GB, free: 9.535 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.007528, allocations: 0 / 0.5624 GB, free: 9.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004975/0.008026, allocations: 357.2 kB / 0.5627 GB, free: 9.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.00806, allocations: 67.39 kB / 0.5628 GB, free: 9.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.008284, allocations: 414.5 kB / 0.5632 GB, free: 8.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.008318, allocations: 37.7 kB / 0.5632 GB, free: 8.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.008376, allocations: 148.2 kB / 0.5634 GB, free: 8.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.008409, allocations: 35.72 kB / 0.5634 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.008533, allocations: 139 kB / 0.5635 GB, free: 8.309 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.008642, allocations: 0.4961 MB / 0.564 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.008937, allocations: 171.3 kB / 0.5642 GB, free: 7.621 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.009102, allocations: 234.3 kB / 0.5644 GB, free: 7.352 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.009297, allocations: 264.3 kB / 0.5647 GB, free: 7.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009299, allocations: 0 / 0.5647 GB, free: 7.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004825/0.009782, allocations: 0.5235 MB / 0.5652 GB, free: 6.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.009831, allocations: 91.55 kB / 0.5653 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009835, allocations: 0 / 0.5653 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.009845, allocations: 4 kB / 0.5653 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.009956, allocations: 31.92 kB / 0.5653 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.00996, allocations: 4 kB / 0.5653 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01014, allocations: 51.8 kB / 0.5653 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.01019, allocations: 59.97 kB / 0.5654 GB, free: 6.25 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.0001138/0.0103, allocations: 182.5 kB / 0.5656 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.01035, allocations: 51.77 kB / 0.5656 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.01039, allocations: 27.69 kB / 0.5656 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01039, allocations: 4 kB / 0.5656 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01039, allocations: 0 / 0.5656 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0104, allocations: 7.969 kB / 0.5657 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.01098, allocations: 0.615 MB / 0.5663 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01098, allocations: 3.938 kB / 0.5663 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.011, allocations: 4 kB / 0.5663 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01101, allocations: 4 kB / 0.5663 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.01103, allocations: 27.97 kB / 0.5663 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01103, allocations: 0 / 0.5663 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01104, allocations: 3.938 kB / 0.5663 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.01139, allocations: 451.6 kB / 0.5667 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.01153, allocations: 121.6 kB / 0.5668 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.01158, allocations: 12 kB / 0.5669 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.01173, allocations: 23.97 kB / 0.5669 GB, free: 4.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.01175, allocations: 11.92 kB / 0.5669 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.0118, allocations: 59.92 kB / 0.5669 GB, free: 4.598 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.01193, allocations: 267 kB / 0.5672 GB, free: 4.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01193, allocations: 0 / 0.5672 GB, free: 4.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.01216, allocations: 67.98 kB / 0.5673 GB, free: 4.273 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 9.559e-05/0.01225, allocations: 112 kB / 0.5674 GB, free: 4.152 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.01291, allocations: 414.7 kB / 0.5678 GB, free: 3.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01291, allocations: 0 / 0.5678 GB, free: 3.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.01301, allocations: 80 kB / 0.5678 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.01328, allocations: 45.62 kB / 0.5679 GB, free: 3.582 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.01391, allocations: 486.8 kB / 0.5684 GB, free: 3.078 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.01396, allocations: 87.67 kB / 0.5684 GB, free: 2.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.01399, allocations: 17.14 kB / 0.5685 GB, free: 2.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.01416, allocations: 142.2 kB / 0.5686 GB, free: 2.812 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01416, allocations: 0 / 0.5686 GB, free: 2.812 MB / 490.7 MB Notification: Performance of Templates: time 0.006507/0.02067, allocations: 5.521 MB / 0.574 GB, free: 13.26 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: 3.9302774840034544]