Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.001146/0.001146, allocations: 92.22 kB / 19.65 MB, free: 276 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.001167/0.001167, allocations: 173 kB / 23.02 MB, free: 1.547 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.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001758/0.001758, allocations: 238.3 kB / 260.2 MB, free: 12.81 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.6972/0.6972, allocations: 138.4 MB / 455.2 MB, free: 1.52 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.768e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002023/0.00205, allocations: 1.569 MB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.003009, allocations: 0.5333 MB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.003069, allocations: 0 / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.00318, allocations: 11.86 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.003294, allocations: 31.84 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.003983, allocations: 319.2 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.004381, allocations: 483.4 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.004417, allocations: 4 kB / 0.5579 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.004756, allocations: 359.6 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.00497, allocations: 127.7 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.005028, allocations: 28 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.242e-05/0.00512, allocations: 32 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.005222, allocations: 115.7 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.00533, allocations: 131.6 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.005636, allocations: 378.9 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005639, allocations: 0 / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00564, allocations: 0 / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005646, allocations: 0 / 0.5591 GB, free: 12.45 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.0009009/0.006547, allocations: 0.9027 MB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.006582, allocations: 12.75 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.006689, allocations: 56.69 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.006941, allocations: 266.8 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.006977, allocations: 20.3 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.007031, allocations: 28.36 kB / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.007398, allocations: 206.7 kB / 0.5605 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.007409, allocations: 192 / 0.5605 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.00743, allocations: 4.375 kB / 0.5605 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.007438, allocations: 384 / 0.5605 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.007535, allocations: 63.84 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.007827, allocations: 316.4 kB / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.008023, allocations: 127 kB / 0.561 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.008118, allocations: 63.66 kB / 0.561 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.008137, allocations: 4 kB / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.008332, allocations: 184.9 kB / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.008333, allocations: 0 / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005189/0.008852, allocations: 377 kB / 0.5616 GB, free: 9.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.008887, allocations: 59.34 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.009141, allocations: 426.6 kB / 0.5621 GB, free: 9.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.009179, allocations: 45.69 kB / 0.5621 GB, free: 9.125 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.009243, allocations: 144.2 kB / 0.5622 GB, free: 8.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.009276, allocations: 39.7 kB / 0.5623 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.00942, allocations: 127.1 kB / 0.5624 GB, free: 8.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.009552, allocations: 0.4923 MB / 0.5629 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.009754, allocations: 187.2 kB / 0.5631 GB, free: 8.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.009963, allocations: 249.1 kB / 0.5633 GB, free: 7.824 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.0102, allocations: 275.8 kB / 0.5636 GB, free: 7.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0102, allocations: 0 / 0.5636 GB, free: 7.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005545/0.01076, allocations: 0.5547 MB / 0.5641 GB, free: 6.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.01082, allocations: 79.38 kB / 0.5642 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.01082, allocations: 7.938 kB / 0.5642 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01084, allocations: 4.188 kB / 0.5642 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01098, allocations: 35.97 kB / 0.5642 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.01099, allocations: 7.938 kB / 0.5642 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.01116, allocations: 51.8 kB / 0.5643 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.01122, allocations: 55.98 kB / 0.5643 GB, free: 6.68 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.0001176/0.01134, allocations: 182.6 kB / 0.5645 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.01138, allocations: 43.72 kB / 0.5645 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.01143, allocations: 39.67 kB / 0.5646 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01143, allocations: 4 kB / 0.5646 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01143, allocations: 7.984 kB / 0.5646 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01144, allocations: 3.938 kB / 0.5646 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.01212, allocations: 0.6731 MB / 0.5653 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01212, allocations: 4 kB / 0.5653 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.01215, allocations: 0 / 0.5653 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01215, allocations: 4 kB / 0.5653 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.01218, allocations: 27.84 kB / 0.5653 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01218, allocations: 4 kB / 0.5653 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01218, allocations: 0 / 0.5653 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.01257, allocations: 464 kB / 0.5657 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.0127, allocations: 121.5 kB / 0.5658 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.01275, allocations: 19.94 kB / 0.5659 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.0129, allocations: 19.97 kB / 0.5659 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.01293, allocations: 7.984 kB / 0.5659 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.01297, allocations: 63.97 kB / 0.566 GB, free: 4.934 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.01312, allocations: 271.1 kB / 0.5662 GB, free: 4.676 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01312, allocations: 0 / 0.5662 GB, free: 4.676 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01334, allocations: 63.98 kB / 0.5663 GB, free: 4.613 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.847e-05/0.01344, allocations: 123.1 kB / 0.5664 GB, free: 4.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.01387, allocations: 436.8 kB / 0.5668 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01387, allocations: 384 / 0.5668 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01397, allocations: 83.59 kB / 0.5669 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01422, allocations: 56.02 kB / 0.5669 GB, free: 3.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.01492, allocations: 470.9 kB / 0.5674 GB, free: 3.387 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.01497, allocations: 91.8 kB / 0.5675 GB, free: 3.273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.01501, allocations: 13.16 kB / 0.5675 GB, free: 3.258 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.01504, allocations: 16.48 kB / 0.5675 GB, free: 3.242 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01505, allocations: 0 / 0.5675 GB, free: 3.242 MB / 490.7 MB Notification: Performance of Templates: time 0.007744/0.02279, allocations: 6.508 MB / 0.5739 GB, free: 12.69 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7408751621842384]