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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, 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.5404/0.5404, allocations: 90.91 MB / 99.34 MB, free: 2.195 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.578/1.578, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.001077/0.001077, allocations: 98.47 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.036e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6566, allocations: 103.5 MB / 0.6547 GB, free: 6.691 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.6569, allocations: 70.22 kB / 0.6548 GB, free: 6.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.6711, allocations: 4.573 MB / 0.6593 GB, free: 2.734 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6712, allocations: 0 / 0.6593 GB, free: 2.734 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.6712, allocations: 8 kB / 0.6593 GB, free: 2.727 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.0007838/0.672, allocations: 0.6195 MB / 0.6599 GB, free: 2.043 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.672, allocations: 8.031 kB / 0.6599 GB, free: 2.035 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.6722, allocations: 35.66 kB / 0.6599 GB, free: 2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.6725, allocations: 264 kB / 0.6602 GB, free: 1.711 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.6726, allocations: 7.562 kB / 0.6602 GB, free: 1.707 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.6726, allocations: 16 kB / 0.6602 GB, free: 1.691 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/0.6728, allocations: 41.73 kB / 0.6602 GB, free: 1.664 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.673, allocations: 145.6 kB / 0.6604 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.673, allocations: 0 / 0.6604 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.673, allocations: 0 / 0.6604 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.6731, allocations: 7.953 kB / 0.6604 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.6734, allocations: 301 kB / 0.6607 GB, free: 1.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.6736, allocations: 105.8 kB / 0.6608 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.6737, allocations: 55.28 kB / 0.6608 GB, free: 1.125 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.6737, allocations: 4 kB / 0.6608 GB, free: 1.121 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.6739, allocations: 152.7 kB / 0.661 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.6739, allocations: 3.938 kB / 0.661 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004538/0.6744, allocations: 239.5 kB / 0.6612 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.6745, allocations: 66.39 kB / 0.6613 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.6747, allocations: 244.4 kB / 0.6615 GB, free: 0.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.6748, allocations: 33.27 kB / 0.6615 GB, free: 476 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.6748, allocations: 96.91 kB / 0.6616 GB, free: 380 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.6749, allocations: 34.61 kB / 0.6617 GB, free: 352 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.6749, allocations: 0 / 0.6617 GB, free: 352 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.675, allocations: 326.2 kB / 0.662 GB, free: 20 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.6752, allocations: 74.48 kB / 0.662 GB, free: 15.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.6754, allocations: 135.2 kB / 0.6622 GB, free: 15.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.6755, allocations: 66.69 kB / 0.6622 GB, free: 15.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.6755, allocations: 4 kB / 0.6622 GB, free: 15.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005097/0.6761, allocations: 299.8 kB / 0.6625 GB, free: 15.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.958e-05/0.6761, allocations: 78.38 kB / 0.6626 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6762, allocations: 0 / 0.6626 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6762, allocations: 4 kB / 0.6626 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.6763, allocations: 19.92 kB / 0.6626 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6763, allocations: 7.938 kB / 0.6626 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.6767, allocations: 40.06 kB / 0.6627 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.6768, allocations: 43.23 kB / 0.6627 GB, free: 15.36 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.0001359/0.6769, allocations: 126.4 kB / 0.6628 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003452/0.6773, allocations: 241.7 kB / 0.6631 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.6773, allocations: 23.72 kB / 0.6631 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.6774, allocations: 29.08 kB / 0.6631 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6774, allocations: 4 kB / 0.6631 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6774, allocations: 3.938 kB / 0.6631 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6774, allocations: 4 kB / 0.6631 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.6781, allocations: 0.5579 MB / 0.6637 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6781, allocations: 3.984 kB / 0.6637 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.6782, allocations: 4 kB / 0.6637 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6782, allocations: 0 / 0.6637 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.6782, allocations: 15.97 kB / 0.6637 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6782, allocations: 11.88 kB / 0.6637 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6783, allocations: 4 kB / 0.6637 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.6786, allocations: 334.8 kB / 0.664 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.6788, allocations: 165 kB / 0.6642 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.6789, allocations: 11.88 kB / 0.6642 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.6793, allocations: 31.97 kB / 0.6642 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.6794, allocations: 14.67 kB / 0.6642 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.6794, allocations: 39.97 kB / 0.6643 GB, free: 13.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.6796, allocations: 195.7 kB / 0.6645 GB, free: 13.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6796, allocations: 0 / 0.6645 GB, free: 13.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.6799, allocations: 48.38 kB / 0.6645 GB, free: 13.63 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.0007011/0.6806, allocations: 0.8971 MB / 0.6654 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.6811, allocations: 318.4 kB / 0.6657 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6811, allocations: 0 / 0.6657 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.6812, allocations: 59.67 kB / 0.6657 GB, free: 12.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.6814, allocations: 19.45 kB / 0.6658 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.6822, allocations: 329.1 kB / 0.6661 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.6825, allocations: 0.7486 MB / 0.6668 GB, free: 11.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.6826, allocations: 20.69 kB / 0.6668 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.6826, allocations: 21.44 kB / 0.6668 GB, free: 11.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6826, allocations: 0 / 0.6668 GB, free: 11.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.7069, allocations: 4.484 MB / 0.6712 GB, free: 6.828 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.7071, allocations: 156.6 kB / 0.6714 GB, free: 6.625 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.334, allocations: 0 / 0.6714 GB, free: 6.625 MB / 474.7 MB (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/linux/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)