Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",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.001786/0.001786, allocations: 101.8 kB / 16.4 MB, free: 6.508 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.001413/0.001413, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.513/2.513, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.246/1.246, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 60.38 kB / 0.5572 GB, free: 32.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 76.19 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003446/0.3185, allocations: 1.506 MB / 0.633 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3201, allocations: 0.5345 MB / 0.6336 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.3202, allocations: 0 / 0.6336 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3203, allocations: 7.922 kB / 0.6336 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3205, allocations: 27.8 kB / 0.6336 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3215, allocations: 313.8 kB / 0.6339 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.3222, allocations: 0.4994 MB / 0.6344 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.3223, allocations: 12 kB / 0.6344 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.3228, allocations: 283.6 kB / 0.6347 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.3233, allocations: 145.8 kB / 0.6348 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3234, allocations: 28 kB / 0.6348 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3235, allocations: 28 kB / 0.6348 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3238, allocations: 115.6 kB / 0.635 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.3241, allocations: 183.1 kB / 0.6351 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.3248, allocations: 422.4 kB / 0.6355 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.3248, allocations: 4 kB / 0.6355 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.3248, allocations: 0 / 0.6355 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.3248, allocations: 0 / 0.6355 GB, free: 0.9492 MB / 478.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.00203/0.3269, allocations: 0.8664 MB / 0.6364 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/0.3269, allocations: 8.031 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.04e-05/0.327, allocations: 42.69 kB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3272, allocations: 52.47 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.328, allocations: 310.2 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.328, allocations: 20.36 kB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3282, allocations: 28.36 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3297, allocations: 206 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3297, allocations: 7.938 kB / 0.637 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.3298, allocations: 8 kB / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3298, allocations: 3.984 kB / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.331, allocations: 103.9 kB / 0.6371 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.3319, allocations: 389.2 kB / 0.6375 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3335, allocations: 170.4 kB / 0.6377 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.3348, allocations: 112.8 kB / 0.6378 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.3348, allocations: 7.984 kB / 0.6378 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.3364, allocations: 227.4 kB / 0.638 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 5.33e-06/0.3364, allocations: 0 / 0.638 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.004261/0.3407, allocations: 495.9 kB / 0.6385 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.3408, allocations: 55.41 kB / 0.6385 GB, free: 13.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.3415, allocations: 409.9 kB / 0.6389 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.3417, allocations: 41.69 kB / 0.639 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3418, allocations: 101.3 kB / 0.6391 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.3419, allocations: 35.55 kB / 0.6391 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/0.3423, allocations: 133.2 kB / 0.6392 GB, free: 12.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3425, allocations: 326.8 kB / 0.6395 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.343, allocations: 115.9 kB / 0.6396 GB, free: 12.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.3435, allocations: 173.9 kB / 0.6398 GB, free: 12.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.3442, allocations: 279 kB / 0.6401 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3442, allocations: 0 / 0.6401 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001556/0.3458, allocations: 489.6 kB / 0.6405 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.346, allocations: 96.72 kB / 0.6406 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.3461, allocations: 7.938 kB / 0.6406 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.072e-05/0.3461, allocations: 4 kB / 0.6406 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.3465, allocations: 19.92 kB / 0.6407 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/0.3466, allocations: 7.984 kB / 0.6407 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.3473, allocations: 51.86 kB / 0.6407 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.3475, allocations: 59.98 kB / 0.6408 GB, free: 11.23 MB / 494.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.0004238/0.3479, allocations: 199.9 kB / 0.641 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3481, allocations: 39.47 kB / 0.641 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3482, allocations: 39.73 kB / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.3482, allocations: 4 kB / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.3482, allocations: 0 / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.3482, allocations: 0 / 0.641 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.3511, allocations: 0.752 MB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3512, allocations: 3.984 kB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.3512, allocations: 4 kB / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3512, allocations: 0 / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.3513, allocations: 23.97 kB / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3513, allocations: 4 kB / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3513, allocations: 0 / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.3532, allocations: 475.2 kB / 0.6423 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.3536, allocations: 208.4 kB / 0.6425 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.3537, allocations: 16 kB / 0.6425 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.3542, allocations: 27.97 kB / 0.6425 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3543, allocations: 7.984 kB / 0.6425 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.3544, allocations: 59.97 kB / 0.6426 GB, free: 9.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004075/0.3548, allocations: 295.1 kB / 0.6429 GB, free: 9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3548, allocations: 0 / 0.6429 GB, free: 9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004966/0.3553, allocations: 68 kB / 0.6429 GB, free: 8.934 MB / 494.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.002449/0.3578, allocations: 1.023 MB / 0.6439 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.3594, allocations: 446.4 kB / 0.6443 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3594, allocations: 0 / 0.6443 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.3602, allocations: 120.3 kB / 0.6445 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.3607, allocations: 25.55 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.3661, allocations: 2.778 MB / 0.6472 GB, free: 4.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.3669, allocations: 0.7747 MB / 0.648 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.3671, allocations: 17.02 kB / 0.648 GB, free: 3.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3672, allocations: 19.42 kB / 0.648 GB, free: 3.535 MB / 494.1 MB Notification: Performance of SimCode: time 6.091e-06/0.3672, allocations: 0 / 0.648 GB, free: 3.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.4105, allocations: 6.221 MB / 0.6541 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.4, allocations: 15.28 kB / 0.6541 GB, free: 13.28 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)