Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7605/0.7605, allocations: 128.7 MB / 143.7 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 185.3 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009004/0.0009005, allocations: 97.52 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003525, allocations: 12.44 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.3121, allocations: 104.6 MB / 0.7375 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.3125, allocations: 75.95 kB / 0.7376 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.3271, allocations: 4.676 MB / 0.7422 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.913e-06/0.3272, allocations: 4 kB / 0.7422 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.3272, allocations: 3.938 kB / 0.7422 GB, free: 0.9688 MB / 0.5105 GB 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.00111/0.3283, allocations: 0.5872 MB / 0.7428 GB, free: 316 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3284, allocations: 8.031 kB / 0.7428 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.214e-05/0.3285, allocations: 38.55 kB / 0.7428 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3286, allocations: 31.67 kB / 0.7428 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3288, allocations: 184 kB / 0.743 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3395/0.6683, allocations: 6.984 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6685, allocations: 15.16 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.6688, allocations: 144.6 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6689, allocations: 0 / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.6689, allocations: 2.219 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.6689, allocations: 3.219 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.6691, allocations: 43.36 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.6695, allocations: 307.1 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.6697, allocations: 126.2 kB / 0.7436 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.6698, allocations: 5.422 kB / 0.7436 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003687/0.6701, allocations: 205.8 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.275e-06/0.6702, allocations: 3.656 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0005273/0.6707, allocations: 258.8 kB / 0.7441 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6707, allocations: 62.98 kB / 0.7441 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.6709, allocations: 203.6 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.6709, allocations: 39.38 kB / 0.7444 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.671, allocations: 87.7 kB / 0.7445 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.671, allocations: 51.03 kB / 0.7445 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.6711, allocations: 6.312 kB / 0.7445 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.6711, allocations: 321.7 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6714, allocations: 97.81 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.6716, allocations: 149.5 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.6719, allocations: 161.3 kB / 0.7452 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6719, allocations: 0 / 0.7452 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006436/0.6725, allocations: 413.7 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.6726, allocations: 76.17 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.6726, allocations: 3.406 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6726, allocations: 3.375 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6728, allocations: 23.88 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.6728, allocations: 3.844 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.6732, allocations: 52.08 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.6733, allocations: 44.97 kB / 0.7458 GB, free: 107.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001384/0.6734, allocations: 160.9 kB / 0.746 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.6734, allocations: 17.62 kB / 0.746 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.6735, allocations: 29.09 kB / 0.746 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6735, allocations: 1.953 kB / 0.746 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6735, allocations: 0 / 0.746 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6735, allocations: 3.469 kB / 0.746 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.6742, allocations: 0.5395 MB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6742, allocations: 4.828 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.6742, allocations: 13.39 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6742, allocations: 3.375 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.6743, allocations: 6.938 kB / 0.7466 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6743, allocations: 0 / 0.7466 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6743, allocations: 4.188 kB / 0.7466 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.6746, allocations: 308.4 kB / 0.7469 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.6747, allocations: 141.8 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.6748, allocations: 15.86 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.6749, allocations: 10.19 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.675, allocations: 13.89 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.675, allocations: 24.75 kB / 0.747 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001081/0.6751, allocations: 158.4 kB / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6751, allocations: 0 / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002999/0.6755, allocations: 57.2 kB / 0.7473 GB, free: 106.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0005535/0.676, allocations: 0.8629 MB / 0.7481 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.6765, allocations: 349.9 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6766, allocations: 4.375 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.6767, allocations: 68.41 kB / 0.7485 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.6769, allocations: 20.17 kB / 0.7485 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.6779, allocations: 1.512 MB / 0.75 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.6781, allocations: 0.7322 MB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.6782, allocations: 33.53 kB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6783, allocations: 40.98 kB / 0.7508 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.6783, allocations: 0 / 0.7508 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.6966, allocations: 4.973 MB / 0.7556 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.6968, allocations: 200.5 kB / 0.7558 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.355, allocations: 0 / 0.7558 GB, free: 102.9 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)