Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.004071/0.004071, 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.00103/0.00103, allocations: 192.4 kB / 16.78 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.285/1.285, allocations: 222.9 MB / 240.5 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6973/0.6973, allocations: 115.3 MB / 405.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 493 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3356, allocations: 76.16 MB / 0.5558 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002129/0.3378, allocations: 1.57 MB / 0.5573 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3388, allocations: 0.5976 MB / 0.5579 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.3389, allocations: 0 / 0.5579 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.76e-05/0.339, allocations: 6.75 kB / 0.5579 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.3391, allocations: 26.39 kB / 0.558 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.3396, allocations: 283.9 kB / 0.5582 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.34, allocations: 452.6 kB / 0.5587 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.34, allocations: 10.69 kB / 0.5587 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.3404, allocations: 304.6 kB / 0.559 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3406, allocations: 158.3 kB / 0.5591 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.3407, allocations: 17.38 kB / 0.5591 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.3408, allocations: 13.78 kB / 0.5591 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3409, allocations: 115.3 kB / 0.5593 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3411, allocations: 178.6 kB / 0.5594 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.3415, allocations: 419.1 kB / 0.5598 GB, free: 34.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3415, allocations: 0 / 0.5598 GB, free: 34.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3415, allocations: 1.469 kB / 0.5598 GB, free: 34.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3415, allocations: 0.5625 kB / 0.5598 GB, free: 34.14 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.001153/0.3427, allocations: 0.8685 MB / 0.5607 GB, free: 33.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3427, allocations: 12.84 kB / 0.5607 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.3428, allocations: 41.33 kB / 0.5607 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3429, allocations: 50.5 kB / 0.5608 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.3432, allocations: 314.7 kB / 0.5611 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.3432, allocations: 19.06 kB / 0.5611 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.3433, allocations: 24.83 kB / 0.5611 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3443, allocations: 213.2 kB / 0.5613 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3444, allocations: 5.312 kB / 0.5613 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3444, allocations: 9.25 kB / 0.5613 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3444, allocations: 4 kB / 0.5613 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.3452, allocations: 97.03 kB / 0.5614 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3456, allocations: 395.8 kB / 0.5618 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3466, allocations: 173.9 kB / 0.562 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.3474, allocations: 112.7 kB / 0.5621 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3474, allocations: 1.406 kB / 0.5621 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009385/0.3483, allocations: 224 kB / 0.5623 GB, free: 32.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3483, allocations: 0 / 0.5623 GB, free: 32.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002579/0.3509, allocations: 491.2 kB / 0.5628 GB, free: 32.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.351, allocations: 59.92 kB / 0.5628 GB, free: 32.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.3513, allocations: 411.5 kB / 0.5632 GB, free: 32.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.3514, allocations: 39.89 kB / 0.5633 GB, free: 32.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.3515, allocations: 100.2 kB / 0.5633 GB, free: 32.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3515, allocations: 49.03 kB / 0.5634 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.3517, allocations: 126.1 kB / 0.5635 GB, free: 31.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.3518, allocations: 326.9 kB / 0.5638 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.352, allocations: 116.7 kB / 0.5639 GB, free: 31.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.3523, allocations: 173.5 kB / 0.5641 GB, free: 31.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3526, allocations: 279.7 kB / 0.5644 GB, free: 31.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3527, allocations: 0 / 0.5644 GB, free: 31.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007667/0.3534, allocations: 491.7 kB / 0.5648 GB, free: 31.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.619e-05/0.3535, allocations: 91.78 kB / 0.5649 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3535, allocations: 7.5 kB / 0.5649 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3535, allocations: 3.438 kB / 0.5649 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3537, allocations: 24.03 kB / 0.565 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3537, allocations: 2.062 kB / 0.565 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.3542, allocations: 62.16 kB / 0.565 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.3543, allocations: 62.38 kB / 0.5651 GB, free: 31.02 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.0001824/0.3545, allocations: 196.8 kB / 0.5653 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.3546, allocations: 40.59 kB / 0.5653 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.3546, allocations: 43.36 kB / 0.5653 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3546, allocations: 2.094 kB / 0.5653 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3546, allocations: 0 / 0.5653 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3547, allocations: 6.984 kB / 0.5654 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.3568, allocations: 0.7482 MB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3568, allocations: 0.5625 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3569, allocations: 4.266 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3569, allocations: 1.281 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.3569, allocations: 19.27 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3569, allocations: 1.125 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3569, allocations: 4.531 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.3587, allocations: 482.4 kB / 0.5666 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.3589, allocations: 200.7 kB / 0.5668 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.359, allocations: 10.66 kB / 0.5668 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.3594, allocations: 30.92 kB / 0.5668 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3595, allocations: 10.72 kB / 0.5668 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.3595, allocations: 58.11 kB / 0.5669 GB, free: 30.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.3598, allocations: 294 kB / 0.5672 GB, free: 29.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3598, allocations: 2.062 kB / 0.5672 GB, free: 29.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3602, allocations: 68.78 kB / 0.5672 GB, free: 29.94 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.001906/0.3621, allocations: 1.018 MB / 0.5682 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3633, allocations: 441.6 kB / 0.5686 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3633, allocations: 0 / 0.5686 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.3641, allocations: 118.9 kB / 0.5688 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3645, allocations: 30.81 kB / 0.5688 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.3681, allocations: 2.894 MB / 0.5716 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.3683, allocations: 0.7718 MB / 0.5724 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.3684, allocations: 12.97 kB / 0.5724 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.3684, allocations: 26.19 kB / 0.5724 GB, free: 26.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3684, allocations: 0 / 0.5724 GB, free: 26.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4589/0.8274, allocations: 6.007 MB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.8276, allocations: 209.7 kB / 0.5785 GB, free: 24.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.794, allocations: 3.938 kB / 0.5785 GB, free: 24.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)