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: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005182/0.005182, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001326/0.001326, allocations: 194.1 kB / 16.79 MB, free: 6.242 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.261/1.261, allocations: 222.9 MB / 240.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6875/0.6875, allocations: 115.3 MB / 405.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.12 kB / 493 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 76.17 MB / 0.5558 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002465/0.3577, allocations: 1.566 MB / 0.5573 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3588, allocations: 0.5923 MB / 0.5579 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.3589, allocations: 5.344 kB / 0.5579 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.192e-05/0.359, allocations: 2.516 kB / 0.5579 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.3591, allocations: 30.12 kB / 0.558 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.3598, allocations: 286.1 kB / 0.5582 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.3602, allocations: 451.5 kB / 0.5587 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.3603, allocations: 4.938 kB / 0.5587 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.3606, allocations: 308.8 kB / 0.559 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.3608, allocations: 159.7 kB / 0.5591 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.34e-05/0.3609, allocations: 13 kB / 0.5591 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.361, allocations: 18.72 kB / 0.5591 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3611, allocations: 110.8 kB / 0.5593 GB, free: 33.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.3613, allocations: 184.1 kB / 0.5594 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.3617, allocations: 419 kB / 0.5598 GB, free: 33.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3617, allocations: 0 / 0.5598 GB, free: 33.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3617, allocations: 0.7188 kB / 0.5598 GB, free: 33.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3617, allocations: 1.125 kB / 0.5598 GB, free: 33.6 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.0009444/0.3627, allocations: 0.8643 MB / 0.5607 GB, free: 32.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3627, allocations: 13.12 kB / 0.5607 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3628, allocations: 41.64 kB / 0.5607 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3629, allocations: 50.64 kB / 0.5608 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3632, allocations: 310.1 kB / 0.5611 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.3632, allocations: 19.44 kB / 0.5611 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.3633, allocations: 28.58 kB / 0.5611 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.3643, allocations: 218.3 kB / 0.5613 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3643, allocations: 3.938 kB / 0.5613 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.3643, allocations: 2.406 kB / 0.5613 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3643, allocations: 2.25 kB / 0.5613 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.3651, allocations: 106.4 kB / 0.5614 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3655, allocations: 394.3 kB / 0.5618 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3665, allocations: 177.1 kB / 0.562 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007482/0.3673, allocations: 110.1 kB / 0.5621 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3673, allocations: 3.641 kB / 0.5621 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.3682, allocations: 221.8 kB / 0.5623 GB, free: 32.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3683, allocations: 0 / 0.5623 GB, free: 32.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002524/0.3708, allocations: 491.2 kB / 0.5628 GB, free: 31.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.3708, allocations: 57.12 kB / 0.5628 GB, free: 31.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.3712, allocations: 410.5 kB / 0.5632 GB, free: 31.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.3713, allocations: 41.72 kB / 0.5633 GB, free: 31.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.3713, allocations: 100.4 kB / 0.5633 GB, free: 31.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3714, allocations: 45.11 kB / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3716, allocations: 129.7 kB / 0.5635 GB, free: 31.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.3716, allocations: 322.2 kB / 0.5638 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3719, allocations: 117.1 kB / 0.5639 GB, free: 31.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.3722, allocations: 176.8 kB / 0.5641 GB, free: 30.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.3725, allocations: 282 kB / 0.5644 GB, free: 30.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3725, allocations: 0 / 0.5644 GB, free: 30.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007421/0.3732, allocations: 490.1 kB / 0.5648 GB, free: 30.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.3733, allocations: 91.91 kB / 0.5649 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3733, allocations: 5.312 kB / 0.5649 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3734, allocations: 2.828 kB / 0.5649 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3735, allocations: 24.19 kB / 0.565 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3735, allocations: 6.844 kB / 0.565 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.374, allocations: 59.47 kB / 0.565 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.3741, allocations: 63.52 kB / 0.5651 GB, free: 30.48 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.0001773/0.3743, allocations: 191.5 kB / 0.5653 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.3744, allocations: 40.92 kB / 0.5653 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.3744, allocations: 42.56 kB / 0.5653 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3744, allocations: 2.562 kB / 0.5653 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3745, allocations: 1.875 kB / 0.5653 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3745, allocations: 5.25 kB / 0.5654 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.3766, allocations: 0.754 MB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3766, allocations: 1.031 kB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.3766, allocations: 4.172 kB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3767, allocations: 2.031 kB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3767, allocations: 23.22 kB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3767, allocations: 1.25 kB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3767, allocations: 4.594 kB / 0.5661 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3785, allocations: 475.6 kB / 0.5666 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.3788, allocations: 201.2 kB / 0.5668 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.3789, allocations: 10.62 kB / 0.5668 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.3794, allocations: 30.16 kB / 0.5668 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3795, allocations: 12.91 kB / 0.5668 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.3795, allocations: 55.8 kB / 0.5669 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.3798, allocations: 294.9 kB / 0.5672 GB, free: 29.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3799, allocations: 0 / 0.5672 GB, free: 29.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.3802, allocations: 66.06 kB / 0.5672 GB, free: 29.4 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.002045/0.3823, allocations: 1.025 MB / 0.5682 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.3836, allocations: 441.6 kB / 0.5686 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3837, allocations: 0 / 0.5686 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008157/0.3845, allocations: 115.2 kB / 0.5687 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3849, allocations: 32.7 kB / 0.5688 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.3892, allocations: 2.895 MB / 0.5716 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3895, allocations: 0.772 MB / 0.5724 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.3896, allocations: 15.47 kB / 0.5724 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.3896, allocations: 25.22 kB / 0.5724 GB, free: 25.76 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3896, allocations: 0 / 0.5724 GB, free: 25.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4419/0.8316, allocations: 6.009 MB / 0.5783 GB, free: 24.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.8318, allocations: 202.8 kB / 0.5785 GB, free: 24.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.813, allocations: 4 kB / 0.5785 GB, free: 24.38 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)