Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009449, allocations: 91.42 kB / 16.67 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 182.9 kB / 17.58 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 115.5 MB / 408.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.000306, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.38, allocations: 77.52 MB / 0.5606 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001923/0.3819, allocations: 1.233 MB / 0.5618 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3835, allocations: 0.5864 MB / 0.5624 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.3836, allocations: 0 / 0.5624 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.087e-05/0.3837, allocations: 6.547 kB / 0.5624 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3838, allocations: 22.53 kB / 0.5624 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3849, allocations: 291.8 kB / 0.5627 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008087/0.3857, allocations: 444 kB / 0.5631 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.3858, allocations: 7.672 kB / 0.5631 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007628/0.3866, allocations: 308.2 kB / 0.5634 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.3871, allocations: 162.4 kB / 0.5635 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.3873, allocations: 13.69 kB / 0.5636 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3874, allocations: 14.62 kB / 0.5636 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.3876, allocations: 113.1 kB / 0.5637 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.388, allocations: 208.9 kB / 0.5639 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.3885, allocations: 308.6 kB / 0.5642 GB, free: 34.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3886, allocations: 7.156 kB / 0.5642 GB, free: 34.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3886, allocations: 1.031 kB / 0.5642 GB, free: 34.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3886, allocations: 0 / 0.5642 GB, free: 34.42 MB / 446.1 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.001401/0.39, allocations: 0.7389 MB / 0.5649 GB, free: 33.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3901, allocations: 12.97 kB / 0.5649 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.3903, allocations: 50.92 kB / 0.565 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.3907, allocations: 318.4 kB / 0.5653 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/0.3908, allocations: 19.08 kB / 0.5653 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3909, allocations: 26.3 kB / 0.5653 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.3925, allocations: 223.7 kB / 0.5655 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3925, allocations: 0.6875 kB / 0.5655 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.3926, allocations: 10.47 kB / 0.5655 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3926, allocations: 3.031 kB / 0.5655 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.3938, allocations: 108.7 kB / 0.5656 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.3945, allocations: 388.4 kB / 0.566 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.3962, allocations: 194.3 kB / 0.5662 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.3975, allocations: 121.3 kB / 0.5663 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3975, allocations: 6.016 kB / 0.5663 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.399, allocations: 238.5 kB / 0.5665 GB, free: 32.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/0.399, allocations: 0 / 0.5665 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.003603/0.4026, allocations: 0.5126 MB / 0.567 GB, free: 32.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4027, allocations: 58.98 kB / 0.5671 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.4033, allocations: 419.3 kB / 0.5675 GB, free: 32.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.4034, allocations: 41.14 kB / 0.5675 GB, free: 32.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.4035, allocations: 94.69 kB / 0.5676 GB, free: 32.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.4035, allocations: 39.58 kB / 0.5677 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.4036, allocations: 36.86 kB / 0.5677 GB, free: 32.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.4037, allocations: 320.9 kB / 0.568 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.404, allocations: 117.8 kB / 0.5681 GB, free: 32.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.4044, allocations: 168.2 kB / 0.5683 GB, free: 31.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.4048, allocations: 278.1 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4048, allocations: 1.438 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009666/0.4057, allocations: 498.7 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.4058, allocations: 91.73 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4059, allocations: 2.156 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4059, allocations: 3 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.4061, allocations: 27.11 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4061, allocations: 6.406 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.4068, allocations: 71.36 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4069, allocations: 59.69 kB / 0.5693 GB, free: 31.42 MB / 446.1 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.0002671/0.4072, allocations: 196.8 kB / 0.5695 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.4073, allocations: 45.39 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.4073, allocations: 38.8 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4073, allocations: 2 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4074, allocations: 4 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4074, allocations: 4.078 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.4099, allocations: 0.7666 MB / 0.5703 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4099, allocations: 2.188 kB / 0.5703 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.41, allocations: 3.797 kB / 0.5703 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.41, allocations: 2.062 kB / 0.5703 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.41, allocations: 23.69 kB / 0.5703 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.41, allocations: 1.125 kB / 0.5703 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4101, allocations: 0 / 0.5703 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4118, allocations: 0.491 MB / 0.5708 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.412, allocations: 196.7 kB / 0.571 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.4121, allocations: 10.31 kB / 0.571 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.4126, allocations: 39.47 kB / 0.571 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.4127, allocations: 8.797 kB / 0.5711 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.4127, allocations: 61.02 kB / 0.5711 GB, free: 30.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.413, allocations: 293.9 kB / 0.5714 GB, free: 30.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.413, allocations: 1.031 kB / 0.5714 GB, free: 30.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.4134, allocations: 65.42 kB / 0.5715 GB, free: 30.34 MB / 446.1 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.0001187/0.4136, allocations: 118.3 kB / 0.5716 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.4148, allocations: 458.6 kB / 0.572 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4148, allocations: 1.625 kB / 0.572 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.4156, allocations: 134.2 kB / 0.5721 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.416, allocations: 28.2 kB / 0.5722 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.4175, allocations: 0.7234 MB / 0.5729 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4177, allocations: 0.7725 MB / 0.5736 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4178, allocations: 16.19 kB / 0.5736 GB, free: 28.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4178, allocations: 0 / 0.5736 GB, free: 28.84 MB / 446.1 MB Notification: Performance of Templates: time 0.006087/0.4239, allocations: 3.654 MB / 0.5772 GB, free: 28.36 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)