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.001588/0.001588, allocations: 97.05 kB / 15.68 MB, free: 488 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.001923/0.001923, allocations: 176.1 kB / 16.57 MB, free: 6.387 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.549/2.549, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.289/1.289, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006187/0.0006189, allocations: 15.92 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3201, allocations: 77.1 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002692/0.3229, allocations: 1.177 MB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3244, allocations: 399.2 kB / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.3245, allocations: 0 / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.447e-05/0.3245, allocations: 7.922 kB / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3247, allocations: 19.97 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.3255, allocations: 217.9 kB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.3258, allocations: 159.7 kB / 0.5586 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.3259, allocations: 8 kB / 0.5586 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.3262, allocations: 167.7 kB / 0.5588 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.3265, allocations: 131.7 kB / 0.5589 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.3265, allocations: 8 kB / 0.5589 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.3266, allocations: 12 kB / 0.5589 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3267, allocations: 79.72 kB / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3269, allocations: 65.58 kB / 0.5591 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.3272, allocations: 203.9 kB / 0.5593 GB, free: 9.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3272, allocations: 4 kB / 0.5593 GB, free: 9.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.3272, allocations: 0 / 0.5593 GB, free: 9.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3272, allocations: 0 / 0.5593 GB, free: 9.062 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.001773/0.329, allocations: 0.6643 MB / 0.5599 GB, free: 8.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.206e-05/0.3291, allocations: 8.031 kB / 0.5599 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.3292, allocations: 42.5 kB / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3294, allocations: 27.72 kB / 0.56 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.3301, allocations: 250.5 kB / 0.5602 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.3302, allocations: 19.98 kB / 0.5603 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3303, allocations: 23.95 kB / 0.5603 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.3321, allocations: 205.5 kB / 0.5605 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3321, allocations: 0 / 0.5605 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.3322, allocations: 7.984 kB / 0.5605 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3322, allocations: 0 / 0.5605 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.3337, allocations: 111.9 kB / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.3345, allocations: 321.3 kB / 0.5609 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.3364, allocations: 186.6 kB / 0.5611 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.3365, allocations: 3.938 kB / 0.5611 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.3381, allocations: 227.1 kB / 0.5613 GB, free: 6.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 4.388e-06/0.3381, allocations: 0 / 0.5613 GB, free: 6.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.004942/0.3431, allocations: 486 kB / 0.5618 GB, free: 6.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.3433, allocations: 59.39 kB / 0.5618 GB, free: 6.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008609/0.3442, allocations: 283 kB / 0.5621 GB, free: 5.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.3444, allocations: 41.7 kB / 0.5621 GB, free: 5.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.3446, allocations: 93.12 kB / 0.5622 GB, free: 5.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3447, allocations: 39.52 kB / 0.5623 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.3448, allocations: 11.98 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003029/0.3451, allocations: 322.8 kB / 0.5626 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.3455, allocations: 87.94 kB / 0.5627 GB, free: 5.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.3459, allocations: 134.5 kB / 0.5628 GB, free: 5.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.3465, allocations: 157.4 kB / 0.5629 GB, free: 5.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3466, allocations: 0 / 0.5629 GB, free: 5.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001462/0.348, allocations: 388.7 kB / 0.5633 GB, free: 4.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.3482, allocations: 75.39 kB / 0.5634 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3483, allocations: 0 / 0.5634 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/0.3483, allocations: 4 kB / 0.5634 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.3487, allocations: 19.92 kB / 0.5634 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-05/0.3487, allocations: 12.12 kB / 0.5634 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.3496, allocations: 59.88 kB / 0.5635 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.3498, allocations: 39.98 kB / 0.5635 GB, free: 4.414 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.0006848/0.3505, allocations: 179.9 kB / 0.5637 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.3507, allocations: 23.72 kB / 0.5637 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.3509, allocations: 34.3 kB / 0.5637 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.3509, allocations: 0 / 0.5637 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.351, allocations: 0 / 0.5637 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.351, allocations: 3.953 kB / 0.5637 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.355, allocations: 0.7145 MB / 0.5644 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.3551, allocations: 0 / 0.5644 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.3552, allocations: 4 kB / 0.5644 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.3552, allocations: 0 / 0.5644 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.3553, allocations: 19.97 kB / 0.5645 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.263e-05/0.3553, allocations: 7.891 kB / 0.5645 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3553, allocations: 0 / 0.5645 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.358, allocations: 474.9 kB / 0.5649 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.3585, allocations: 160.7 kB / 0.5651 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3586, allocations: 11.98 kB / 0.5651 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.3593, allocations: 39.97 kB / 0.5651 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3595, allocations: 11.94 kB / 0.5651 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.3596, allocations: 43.92 kB / 0.5652 GB, free: 2.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.3602, allocations: 213.9 kB / 0.5654 GB, free: 2.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3602, allocations: 0 / 0.5654 GB, free: 2.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.361, allocations: 47.98 kB / 0.5654 GB, free: 2.348 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.00389/0.3649, allocations: 1.012 MB / 0.5664 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.3672, allocations: 381 kB / 0.5668 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.3672, allocations: 4.312 kB / 0.5668 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3684, allocations: 127.9 kB / 0.5669 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.3689, allocations: 16.59 kB / 0.5669 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.3738, allocations: 1.657 MB / 0.5685 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/0.3747, allocations: 0.7543 MB / 0.5693 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.3749, allocations: 9.094 kB / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.375, allocations: 27.42 kB / 0.5693 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.545e-06/0.3751, allocations: 0 / 0.5693 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.4081, allocations: 4.501 MB / 0.5737 GB, free: 9.895 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003551/0.4086, allocations: 182.8 kB / 0.5739 GB, free: 9.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/3.688, allocations: 0 / 0.5739 GB, free: 9.66 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/linux/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) Environment - environmentSimulation: