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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 90.91 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009584, allocations: 98.7 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.851e-05/1.842e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 72.32 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.6445, allocations: 103.5 MB / 0.6547 GB, free: 6.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.6447, allocations: 73.95 kB / 0.6548 GB, free: 6.418 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.6588, allocations: 4.571 MB / 0.6593 GB, free: 2.496 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6588, allocations: 0 / 0.6593 GB, free: 2.496 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.6588, allocations: 8 kB / 0.6593 GB, free: 2.488 MB / 458.7 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.0008305/0.6597, allocations: 0.6252 MB / 0.6599 GB, free: 1.801 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6597, allocations: 8.031 kB / 0.6599 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.6599, allocations: 39.67 kB / 0.6599 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.6602, allocations: 257.7 kB / 0.6602 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.6603, allocations: 7.438 kB / 0.6602 GB, free: 1.465 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.6603, allocations: 15.98 kB / 0.6602 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/0.6605, allocations: 44.67 kB / 0.6602 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.6607, allocations: 142.5 kB / 0.6604 GB, free: 1.297 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6607, allocations: 0 / 0.6604 GB, free: 1.297 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.6607, allocations: 7.984 kB / 0.6604 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6608, allocations: 4.703 kB / 0.6604 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.6611, allocations: 294.5 kB / 0.6607 GB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.6613, allocations: 104 kB / 0.6608 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.6614, allocations: 53.28 kB / 0.6608 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.6614, allocations: 4 kB / 0.6608 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.6616, allocations: 159.1 kB / 0.661 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.6616, allocations: 0 / 0.661 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.000453/0.6621, allocations: 245.2 kB / 0.6612 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6621, allocations: 73.97 kB / 0.6613 GB, free: 460 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.6624, allocations: 235.8 kB / 0.6615 GB, free: 264 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.6625, allocations: 37.31 kB / 0.6615 GB, free: 224 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.6625, allocations: 93.36 kB / 0.6616 GB, free: 128 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.6626, allocations: 38.53 kB / 0.6617 GB, free: 96 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.6626, allocations: 7.5 kB / 0.6617 GB, free: 92 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6628, allocations: 326.5 kB / 0.662 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.6629, allocations: 73.3 kB / 0.662 GB, free: 15.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.6631, allocations: 122.9 kB / 0.6622 GB, free: 15.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.6632, allocations: 74.5 kB / 0.6622 GB, free: 15.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6633, allocations: 4 kB / 0.6622 GB, free: 15.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005078/0.6638, allocations: 292.5 kB / 0.6625 GB, free: 15.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.6639, allocations: 74.14 kB / 0.6626 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6639, allocations: 192 / 0.6626 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6639, allocations: 8 kB / 0.6626 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6641, allocations: 23.92 kB / 0.6626 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6641, allocations: 7.984 kB / 0.6626 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.6644, allocations: 39.39 kB / 0.6627 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.6645, allocations: 35.98 kB / 0.6627 GB, free: 15.12 MB / 474.7 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 () * 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.0001329/0.6646, allocations: 130.6 kB / 0.6628 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003393/0.665, allocations: 245 kB / 0.6631 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.665, allocations: 23.72 kB / 0.6631 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.6651, allocations: 31.33 kB / 0.6631 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.6651, allocations: 4 kB / 0.6631 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6651, allocations: 0 / 0.6631 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6651, allocations: 3.984 kB / 0.6631 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.6658, allocations: 0.5522 MB / 0.6637 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6659, allocations: 8 kB / 0.6637 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.6659, allocations: 4 kB / 0.6637 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6659, allocations: 3.938 kB / 0.6637 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.666, allocations: 18.59 kB / 0.6637 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.666, allocations: 0 / 0.6637 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.666, allocations: 0 / 0.6637 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.6664, allocations: 343.5 kB / 0.664 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.6666, allocations: 161.5 kB / 0.6642 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.6666, allocations: 11.38 kB / 0.6642 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.667, allocations: 35.53 kB / 0.6642 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.6671, allocations: 7.984 kB / 0.6642 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.6672, allocations: 47.47 kB / 0.6643 GB, free: 13.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.6673, allocations: 188.5 kB / 0.6644 GB, free: 13.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6673, allocations: 0 / 0.6644 GB, free: 13.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000324/0.6677, allocations: 52.36 kB / 0.6645 GB, free: 13.39 MB / 474.7 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) * 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.0006749/0.6683, allocations: 0.9001 MB / 0.6654 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004165/0.6688, allocations: 313.5 kB / 0.6657 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6688, allocations: 3.938 kB / 0.6657 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.6689, allocations: 61.67 kB / 0.6657 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.6691, allocations: 21.33 kB / 0.6658 GB, free: 12.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.6698, allocations: 325.9 kB / 0.6661 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.6701, allocations: 0.7504 MB / 0.6668 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.6702, allocations: 12.77 kB / 0.6668 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.6703, allocations: 22.73 kB / 0.6668 GB, free: 11.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6703, allocations: 3.938 kB / 0.6668 GB, free: 11.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.6927, allocations: 4.492 MB / 0.6712 GB, free: 6.582 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.693, allocations: 136.2 kB / 0.6714 GB, free: 6.395 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.339, allocations: 3.938 kB / 0.6714 GB, free: 6.391 MB / 474.7 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)