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.00168/0.00168, allocations: 96.11 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 177.2 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.486/2.486, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.25/1.25, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007731/0.0007734, allocations: 8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3438, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002937/0.3469, allocations: 1.173 MB / 0.5579 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3483, allocations: 395.2 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.3484, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.949e-05/0.3484, allocations: 7.922 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.3487, allocations: 19.97 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.3498, allocations: 223 kB / 0.5585 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.3503, allocations: 155.7 kB / 0.5586 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.3504, allocations: 8 kB / 0.5586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.3511, allocations: 167.7 kB / 0.5588 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.3514, allocations: 127.7 kB / 0.5589 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.3515, allocations: 8 kB / 0.5589 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.3516, allocations: 12 kB / 0.5589 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.3518, allocations: 79.77 kB / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.352, allocations: 73.52 kB / 0.5591 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.3525, allocations: 199.9 kB / 0.5593 GB, free: 9.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3525, allocations: 4 kB / 0.5593 GB, free: 9.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.3525, allocations: 0 / 0.5593 GB, free: 9.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.3525, allocations: 0 / 0.5593 GB, free: 9.078 MB / 430.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.00174/0.3543, allocations: 0.6565 MB / 0.5599 GB, free: 8.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.3544, allocations: 8.031 kB / 0.5599 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.3545, allocations: 46.48 kB / 0.56 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3547, allocations: 35.66 kB / 0.56 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.3553, allocations: 258.5 kB / 0.5603 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.3553, allocations: 19.98 kB / 0.5603 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.3554, allocations: 15.95 kB / 0.5603 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.3568, allocations: 205.5 kB / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3569, allocations: 3.984 kB / 0.5605 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.3569, allocations: 11.98 kB / 0.5605 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3569, allocations: 4 kB / 0.5605 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.358, allocations: 103.9 kB / 0.5606 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.3589, allocations: 313.4 kB / 0.5609 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3605, allocations: 194.6 kB / 0.5611 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.3606, allocations: 0 / 0.5611 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.3619, allocations: 225.4 kB / 0.5613 GB, free: 6.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.3619, allocations: 0 / 0.5613 GB, free: 6.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0038/0.3658, allocations: 484.9 kB / 0.5618 GB, free: 6.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3659, allocations: 59.41 kB / 0.5618 GB, free: 6.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.3665, allocations: 291 kB / 0.5621 GB, free: 5.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.3667, allocations: 33.7 kB / 0.5621 GB, free: 5.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3668, allocations: 93.14 kB / 0.5622 GB, free: 5.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.3669, allocations: 43.5 kB / 0.5623 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.367, allocations: 4 kB / 0.5623 GB, free: 5.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003614/0.3673, allocations: 330.8 kB / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.3676, allocations: 83.88 kB / 0.5627 GB, free: 5.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.3682, allocations: 134.5 kB / 0.5628 GB, free: 5.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.3685, allocations: 161 kB / 0.5629 GB, free: 5.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3685, allocations: 0 / 0.5629 GB, free: 5.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001035/0.3696, allocations: 388.7 kB / 0.5633 GB, free: 4.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.3697, allocations: 71.39 kB / 0.5634 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3697, allocations: 0 / 0.5634 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3697, allocations: 4 kB / 0.5634 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.37, allocations: 23.92 kB / 0.5634 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.37, allocations: 4.141 kB / 0.5634 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.3707, allocations: 67.86 kB / 0.5635 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.835e-05/0.3708, allocations: 39.98 kB / 0.5635 GB, free: 4.426 MB / 430.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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.3711, allocations: 179.9 kB / 0.5637 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.3712, allocations: 23.72 kB / 0.5637 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.3713, allocations: 26.3 kB / 0.5637 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3713, allocations: 4 kB / 0.5637 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3713, allocations: 0 / 0.5637 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3713, allocations: 3.953 kB / 0.5637 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.3744, allocations: 0.7105 MB / 0.5644 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3744, allocations: 7.938 kB / 0.5644 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3745, allocations: 4 kB / 0.5644 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3745, allocations: 0 / 0.5644 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.3746, allocations: 19.97 kB / 0.5645 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.229e-05/0.3746, allocations: 7.953 kB / 0.5645 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.3747, allocations: 7.922 kB / 0.5645 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.3772, allocations: 471.9 kB / 0.5649 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.3775, allocations: 160.7 kB / 0.5651 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.3777, allocations: 12 kB / 0.5651 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.3783, allocations: 35.95 kB / 0.5651 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.3784, allocations: 15.94 kB / 0.5651 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.3785, allocations: 35.98 kB / 0.5652 GB, free: 2.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.3788, allocations: 213.9 kB / 0.5654 GB, free: 2.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3788, allocations: 0 / 0.5654 GB, free: 2.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.3795, allocations: 48 kB / 0.5654 GB, free: 2.363 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003013/0.3825, allocations: 1.011 MB / 0.5664 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.3843, allocations: 382.6 kB / 0.5668 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.3843, allocations: 4.375 kB / 0.5668 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.3856, allocations: 123.9 kB / 0.5669 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.386, allocations: 24.59 kB / 0.5669 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.3894, allocations: 1.666 MB / 0.5686 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.39, allocations: 0.7504 MB / 0.5693 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3901, allocations: 9.078 kB / 0.5693 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.3902, allocations: 23.42 kB / 0.5693 GB, free: 14.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/0.3902, allocations: 0 / 0.5693 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06444/0.4547, allocations: 4.497 MB / 0.5737 GB, free: 9.914 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/0.4551, allocations: 187.2 kB / 0.5739 GB, free: 9.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.418/3.873, allocations: 0 / 0.5739 GB, free: 9.672 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/linux/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) Environment - environmentSimulation: