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.00112/0.00112, allocations: 103.7 kB / 16.94 MB, free: 6.191 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.001046/0.001046, allocations: 191.6 kB / 17.86 MB, free: 5.293 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.301/1.301, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7607/0.7607, allocations: 122.9 MB / 414.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 0.4917 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4141, allocations: 77.92 MB / 0.5678 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003443/0.4176, allocations: 1.51 MB / 0.5693 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.419, allocations: 0.5482 MB / 0.5698 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.4191, allocations: 1.375 kB / 0.5698 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.4192, allocations: 10.27 kB / 0.5698 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4193, allocations: 32.47 kB / 0.5699 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007649/0.4201, allocations: 310.6 kB / 0.5702 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.4207, allocations: 0.4987 MB / 0.5707 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.4207, allocations: 6.062 kB / 0.5707 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.4211, allocations: 270.7 kB / 0.5709 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.4214, allocations: 139.9 kB / 0.5711 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4215, allocations: 27.5 kB / 0.5711 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.4216, allocations: 26.12 kB / 0.5711 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.4217, allocations: 112.5 kB / 0.5712 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.422, allocations: 186.1 kB / 0.5714 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.4225, allocations: 430.2 kB / 0.5718 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4225, allocations: 0 / 0.5718 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4225, allocations: 1.125 kB / 0.5718 GB, free: 30.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4225, allocations: 1.062 kB / 0.5718 GB, free: 30.49 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.001175/0.4237, allocations: 0.8683 MB / 0.5727 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4237, allocations: 12.53 kB / 0.5727 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.4239, allocations: 49.94 kB / 0.5727 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.4242, allocations: 309.2 kB / 0.573 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.4242, allocations: 17.42 kB / 0.573 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.4243, allocations: 24.95 kB / 0.573 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4254, allocations: 214 kB / 0.5733 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4254, allocations: 1.531 kB / 0.5733 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.4255, allocations: 10.78 kB / 0.5733 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4255, allocations: 1.406 kB / 0.5733 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.4263, allocations: 97.92 kB / 0.5734 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.4268, allocations: 399.4 kB / 0.5737 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4279, allocations: 179 kB / 0.5739 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.4287, allocations: 110 kB / 0.574 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4287, allocations: 4.078 kB / 0.574 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.4298, allocations: 222.7 kB / 0.5742 GB, free: 28.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.4298, allocations: 1.312 kB / 0.5742 GB, free: 28.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002848/0.4326, allocations: 491.5 kB / 0.5747 GB, free: 28.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.4327, allocations: 58.02 kB / 0.5748 GB, free: 28.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.4332, allocations: 416.5 kB / 0.5752 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.4333, allocations: 40.28 kB / 0.5752 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.4334, allocations: 94.89 kB / 0.5753 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.4334, allocations: 40.73 kB / 0.5753 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.4337, allocations: 129.8 kB / 0.5754 GB, free: 28.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.4337, allocations: 326.7 kB / 0.5758 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.434, allocations: 117 kB / 0.5759 GB, free: 28.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.4343, allocations: 169.5 kB / 0.576 GB, free: 27.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.4347, allocations: 277.7 kB / 0.5763 GB, free: 27.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4347, allocations: 5.031 kB / 0.5763 GB, free: 27.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008129/0.4355, allocations: 494.2 kB / 0.5768 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.4356, allocations: 92.89 kB / 0.5769 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4356, allocations: 2.062 kB / 0.5769 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4356, allocations: 3.531 kB / 0.5769 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4358, allocations: 26.11 kB / 0.5769 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4358, allocations: 6.594 kB / 0.5769 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.4364, allocations: 64.31 kB / 0.577 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.4365, allocations: 62.73 kB / 0.577 GB, free: 27.41 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.0001935/0.4367, allocations: 194.9 kB / 0.5772 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.4367, allocations: 42.66 kB / 0.5772 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.4368, allocations: 40.47 kB / 0.5773 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4368, allocations: 2.75 kB / 0.5773 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4368, allocations: 0 / 0.5773 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4368, allocations: 1.219 kB / 0.5773 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.439, allocations: 0.7495 MB / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.439, allocations: 1.5 kB / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.4391, allocations: 4.125 kB / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4391, allocations: 2 kB / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.4391, allocations: 18.19 kB / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4391, allocations: 3.219 kB / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4391, allocations: 0 / 0.578 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4409, allocations: 478 kB / 0.5785 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.4411, allocations: 203.6 kB / 0.5787 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.4412, allocations: 10.77 kB / 0.5787 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.4417, allocations: 33.73 kB / 0.5787 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4418, allocations: 11.36 kB / 0.5788 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.4418, allocations: 55.75 kB / 0.5788 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.4421, allocations: 295.4 kB / 0.5791 GB, free: 26.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4421, allocations: 0.5 kB / 0.5791 GB, free: 26.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.4425, allocations: 67.55 kB / 0.5792 GB, free: 26.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.0001176/0.4426, allocations: 117.2 kB / 0.5793 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.444, allocations: 457.6 kB / 0.5797 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4441, allocations: 0 / 0.5797 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008282/0.4449, allocations: 119.6 kB / 0.5798 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4453, allocations: 31.86 kB / 0.5798 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4468, allocations: 0.5884 MB / 0.5804 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.447, allocations: 0.772 MB / 0.5812 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.4471, allocations: 18.25 kB / 0.5812 GB, free: 24.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4471, allocations: 1.969 kB / 0.5812 GB, free: 24.89 MB / 446.1 MB Notification: Performance of Templates: time 0.00556/0.4527, allocations: 3.684 MB / 0.5848 GB, free: 22.91 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)