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.001434/0.001434, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001791/0.001791, allocations: 169 kB / 23.27 MB, free: 1.223 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.9309/0.9309, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001691/0.001691, allocations: 249.7 kB / 260.5 MB, free: 12.68 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.7713/0.7713, allocations: 138.4 MB / 455.5 MB, free: 30.05 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.743e-06/1.743e-06, allocations: 0 / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.418e-05, allocations: 8.609 kB / 0.5556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00202/0.002044, allocations: 1.562 MB / 0.5571 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.003039, allocations: 0.5351 MB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.003094, allocations: 4 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.003184, allocations: 11.86 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.644e-05/0.00328, allocations: 27.8 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.003853, allocations: 327.2 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.004198, allocations: 487.4 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.004237, allocations: 8 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.004565, allocations: 351.6 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.004768, allocations: 136.4 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.004823, allocations: 28 kB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.004873, allocations: 24 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.004961, allocations: 123.6 kB / 0.5591 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.005052, allocations: 123.7 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.005319, allocations: 390.8 kB / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005321, allocations: 0 / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005322, allocations: 0 / 0.5596 GB, free: 11.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005326, allocations: 0 / 0.5596 GB, free: 11.81 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.0007722/0.006098, allocations: 0.9066 MB / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.006136, allocations: 9.938 kB / 0.5604 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.006224, allocations: 64.64 kB / 0.5605 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.00645, allocations: 258.8 kB / 0.5608 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.006484, allocations: 16.36 kB / 0.5608 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.006533, allocations: 32.36 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.006849, allocations: 202.7 kB / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.006856, allocations: 192 / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.006872, allocations: 8.375 kB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006878, allocations: 384 / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.006958, allocations: 51.91 kB / 0.5611 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.007185, allocations: 245 kB / 0.5613 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.007351, allocations: 127 kB / 0.5614 GB, free: 9.762 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.007431, allocations: 55.66 kB / 0.5615 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.007454, allocations: 4 kB / 0.5615 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.007631, allocations: 180.8 kB / 0.5616 GB, free: 9.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.007633, allocations: 0 / 0.5616 GB, free: 9.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004545/0.008087, allocations: 357.2 kB / 0.562 GB, free: 9.152 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.00812, allocations: 67.33 kB / 0.562 GB, free: 9.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.008343, allocations: 422.5 kB / 0.5624 GB, free: 8.645 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.008376, allocations: 37.7 kB / 0.5625 GB, free: 8.602 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.008434, allocations: 136.2 kB / 0.5626 GB, free: 8.465 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.008475, allocations: 47.64 kB / 0.5627 GB, free: 8.418 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.008591, allocations: 139 kB / 0.5628 GB, free: 8.273 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.008706, allocations: 0.4961 MB / 0.5633 GB, free: 7.766 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.008858, allocations: 159.3 kB / 0.5634 GB, free: 7.598 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.00902, allocations: 238.3 kB / 0.5637 GB, free: 7.324 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.009208, allocations: 263.2 kB / 0.5639 GB, free: 7.027 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.009212, allocations: 4 kB / 0.5639 GB, free: 7.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005479/0.00976, allocations: 0.5196 MB / 0.5644 GB, free: 6.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.009813, allocations: 79.38 kB / 0.5645 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.00982, allocations: 4.188 kB / 0.5645 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.009833, allocations: 8 kB / 0.5645 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.009946, allocations: 39.91 kB / 0.5645 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.00995, allocations: 0 / 0.5645 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.01011, allocations: 47.8 kB / 0.5646 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.01016, allocations: 59.98 kB / 0.5646 GB, free: 6.227 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.0001212/0.01028, allocations: 186.5 kB / 0.5648 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.01033, allocations: 39.77 kB / 0.5649 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.01037, allocations: 43.67 kB / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.01038, allocations: 0 / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01038, allocations: 7.938 kB / 0.5649 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01039, allocations: 4 kB / 0.5649 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.01096, allocations: 0.6072 MB / 0.5655 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01096, allocations: 0 / 0.5655 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.01099, allocations: 7.984 kB / 0.5655 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01099, allocations: 0 / 0.5655 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.01101, allocations: 23.98 kB / 0.5655 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.01101, allocations: 0 / 0.5655 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.01102, allocations: 7.938 kB / 0.5655 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.01138, allocations: 463.4 kB / 0.566 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.01152, allocations: 113.6 kB / 0.5661 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.01156, allocations: 15.98 kB / 0.5661 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.01174, allocations: 35.97 kB / 0.5661 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.01176, allocations: 15.91 kB / 0.5662 GB, free: 4.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.0118, allocations: 51.98 kB / 0.5662 GB, free: 4.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.01193, allocations: 267 kB / 0.5665 GB, free: 4.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01193, allocations: 0 / 0.5665 GB, free: 4.305 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.01213, allocations: 67.98 kB / 0.5665 GB, free: 4.238 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.0001063/0.01224, allocations: 110.2 kB / 0.5666 GB, free: 4.121 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.01266, allocations: 434.2 kB / 0.567 GB, free: 3.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01266, allocations: 0 / 0.567 GB, free: 3.656 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.01275, allocations: 75.97 kB / 0.5671 GB, free: 3.578 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.013, allocations: 49.61 kB / 0.5672 GB, free: 3.531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.01367, allocations: 475.2 kB / 0.5676 GB, free: 3.039 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.01372, allocations: 99.67 kB / 0.5677 GB, free: 2.922 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.01375, allocations: 9.156 kB / 0.5677 GB, free: 2.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.01392, allocations: 146.2 kB / 0.5679 GB, free: 2.766 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01392, allocations: 0 / 0.5679 GB, free: 2.766 MB / 490.7 MB Notification: Performance of Templates: time 0.006153/0.02007, allocations: 5.376 MB / 0.5731 GB, free: 13.36 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.6824855878949165]