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.001786/0.001786, allocations: 102 kB / 16.4 MB, free: 6.492 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.002132/0.002133, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.252/2.252, 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.221/1.221, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 71.41 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3222, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.005901/0.3282, allocations: 1.512 MB / 0.633 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3305, allocations: 0.5383 MB / 0.6336 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.3307, allocations: 0 / 0.6336 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.3309, allocations: 11.94 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3313, allocations: 31.78 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3327, allocations: 306.3 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009017/0.3337, allocations: 0.4994 MB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.3337, allocations: 12 kB / 0.6344 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.3343, allocations: 275.6 kB / 0.6347 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.3348, allocations: 147.4 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3349, allocations: 28 kB / 0.6348 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.335, allocations: 24 kB / 0.6348 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.3353, allocations: 123.5 kB / 0.635 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.3356, allocations: 187.1 kB / 0.6351 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.3363, allocations: 414.4 kB / 0.6355 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3363, allocations: 0 / 0.6355 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3363, allocations: 0 / 0.6355 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3364, allocations: 4 kB / 0.6355 GB, free: 0.8516 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.002836/0.3392, allocations: 0.8781 MB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.361e-05/0.3393, allocations: 8.031 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.993e-05/0.3394, allocations: 38.73 kB / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3396, allocations: 48.47 kB / 0.6365 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.3403, allocations: 314.2 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.3404, allocations: 16.36 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.3405, allocations: 24.38 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.342, allocations: 218 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.342, allocations: 3.938 kB / 0.637 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3421, allocations: 0 / 0.637 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3421, allocations: 4 kB / 0.637 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3435, allocations: 102.9 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.3443, allocations: 389.2 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.3459, allocations: 178.4 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.3471, allocations: 112.8 kB / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.3472, allocations: 384 / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.3485, allocations: 231 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.575e-06/0.3485, allocations: 0 / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.003746/0.3523, allocations: 487.8 kB / 0.6385 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3524, allocations: 67.38 kB / 0.6385 GB, free: 13.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.3532, allocations: 409.9 kB / 0.6389 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.3534, allocations: 41.69 kB / 0.639 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3535, allocations: 93.36 kB / 0.6391 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.3536, allocations: 39.55 kB / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.3539, allocations: 125.2 kB / 0.6392 GB, free: 12.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3541, allocations: 326.8 kB / 0.6395 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.3545, allocations: 119.9 kB / 0.6396 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.355, allocations: 177.9 kB / 0.6398 GB, free: 12.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.3556, allocations: 275.1 kB / 0.6401 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3556, allocations: 4 kB / 0.6401 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00127/0.3569, allocations: 497.2 kB / 0.6406 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.357, allocations: 91.31 kB / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.357, allocations: 0 / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.3571, allocations: 4 kB / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3573, allocations: 28.11 kB / 0.6407 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3574, allocations: 0 / 0.6407 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.3581, allocations: 59.8 kB / 0.6407 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.3582, allocations: 63.97 kB / 0.6408 GB, free: 11.12 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.0004313/0.3587, allocations: 195.9 kB / 0.641 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.3588, allocations: 43.47 kB / 0.641 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3589, allocations: 43.73 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3589, allocations: 0 / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.359, allocations: 4 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.359, allocations: 0 / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.3625, allocations: 0.7481 MB / 0.6418 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3625, allocations: 0 / 0.6418 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.3626, allocations: 7.984 kB / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.3626, allocations: 4 kB / 0.6418 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.3627, allocations: 15.98 kB / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3627, allocations: 4 kB / 0.6418 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3627, allocations: 0 / 0.6418 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.3652, allocations: 475.2 kB / 0.6423 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/0.3659, allocations: 204.4 kB / 0.6425 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.366, allocations: 11.98 kB / 0.6425 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.3667, allocations: 35.95 kB / 0.6425 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.3668, allocations: 11.98 kB / 0.6425 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.3669, allocations: 55.98 kB / 0.6426 GB, free: 9.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005284/0.3674, allocations: 295.1 kB / 0.6429 GB, free: 8.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3674, allocations: 0 / 0.6429 GB, free: 8.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006852/0.3681, allocations: 63.98 kB / 0.6429 GB, free: 8.836 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.003052/0.3712, allocations: 1.023 MB / 0.6439 GB, free: 7.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3732, allocations: 442.5 kB / 0.6443 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3733, allocations: 3.938 kB / 0.6444 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.3743, allocations: 115.9 kB / 0.6445 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.375, allocations: 31.33 kB / 0.6445 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.3817, allocations: 2.773 MB / 0.6472 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.3825, allocations: 0.7708 MB / 0.648 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3826, allocations: 17.08 kB / 0.648 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.3828, allocations: 27.42 kB / 0.648 GB, free: 3.434 MB / 494.1 MB Notification: Performance of SimCode: time 5.16e-06/0.3828, allocations: 0 / 0.648 GB, free: 3.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.4295, allocations: 6.23 MB / 0.6541 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.33, allocations: 7.109 kB / 0.6541 GB, free: 13.19 MB / 0.4981 GB (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)