Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.7642/0.7642, allocations: 127.4 MB / 134.9 MB, free: 3.492 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.001102/0.001102, allocations: 178.9 kB / 164.6 MB, free: 11.6 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.532/1.532, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.000893/0.000893, allocations: 100.4 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.742e-05, allocations: 0 / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1527, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.2813, allocations: 103.8 MB / 0.723 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.2816, allocations: 79.89 kB / 0.7231 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01284/0.2945, allocations: 4.66 MB / 0.7276 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2945, allocations: 0 / 0.7276 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.2946, allocations: 4 kB / 0.7276 GB, free: 14.32 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.000754/0.2953, allocations: 0.5438 MB / 0.7282 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2954, allocations: 12.03 kB / 0.7282 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.636e-05/0.2955, allocations: 27.67 kB / 0.7282 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2956, allocations: 196 kB / 0.7284 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.2956, allocations: 8 kB / 0.7284 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.2957, allocations: 12 kB / 0.7284 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/0.2958, allocations: 43.92 kB / 0.7285 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2961, allocations: 136.7 kB / 0.7286 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2961, allocations: 0 / 0.7286 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2961, allocations: 0 / 0.7286 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2961, allocations: 0 / 0.7286 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.2964, allocations: 285.8 kB / 0.7289 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.2966, allocations: 118.7 kB / 0.729 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.2967, allocations: 48.84 kB / 0.729 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.2968, allocations: 7.984 kB / 0.729 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.2971, allocations: 199 kB / 0.7292 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.2971, allocations: 0 / 0.7292 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003711/0.2975, allocations: 198 kB / 0.7294 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.2975, allocations: 63.39 kB / 0.7295 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2977, allocations: 187 kB / 0.7297 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.2977, allocations: 33.7 kB / 0.7297 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.2978, allocations: 100.8 kB / 0.7298 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.2979, allocations: 35.55 kB / 0.7298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.2979, allocations: 4 kB / 0.7298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.298, allocations: 326.8 kB / 0.7301 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.2982, allocations: 76.22 kB / 0.7302 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2984, allocations: 147.8 kB / 0.7303 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.2985, allocations: 68.64 kB / 0.7304 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2985, allocations: 4 kB / 0.7304 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005012/0.299, allocations: 297.9 kB / 0.7307 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.982e-05/0.2991, allocations: 79.38 kB / 0.7308 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2991, allocations: 0 / 0.7308 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2991, allocations: 4 kB / 0.7308 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2993, allocations: 27.86 kB / 0.7308 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2993, allocations: 4 kB / 0.7308 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2996, allocations: 44.06 kB / 0.7308 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.2997, allocations: 43.98 kB / 0.7309 GB, free: 10.75 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 () * 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.000132/0.2999, allocations: 135 kB / 0.731 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002992/0.3002, allocations: 189.3 kB / 0.7312 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3002, allocations: 27.64 kB / 0.7312 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.3003, allocations: 25.97 kB / 0.7312 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3003, allocations: 3.984 kB / 0.7313 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3003, allocations: 0 / 0.7313 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.3003, allocations: 3.984 kB / 0.7313 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.3009, allocations: 0.497 MB / 0.7317 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.301, allocations: 4 kB / 0.7317 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.301, allocations: 4 kB / 0.7318 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.301, allocations: 4 kB / 0.7318 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.3011, allocations: 15.97 kB / 0.7318 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3011, allocations: 4 kB / 0.7318 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3011, allocations: 0 / 0.7318 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3014, allocations: 303 kB / 0.7321 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3016, allocations: 128.9 kB / 0.7322 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.3016, allocations: 11.98 kB / 0.7322 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3018, allocations: 8 kB / 0.7322 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3018, allocations: 15.97 kB / 0.7322 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3019, allocations: 27.98 kB / 0.7322 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001219/0.302, allocations: 157.6 kB / 0.7324 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.302, allocations: 0 / 0.7324 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003145/0.3023, allocations: 47.95 kB / 0.7324 GB, free: 9.07 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) * 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.0006678/0.303, allocations: 0.8447 MB / 0.7333 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.3035, allocations: 327.4 kB / 0.7336 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3035, allocations: 0 / 0.7336 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3036, allocations: 62.42 kB / 0.7336 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.3039, allocations: 18.72 kB / 0.7337 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.3045, allocations: 271.8 kB / 0.7339 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3048, allocations: 0.7318 MB / 0.7346 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00011/0.3049, allocations: 29.2 kB / 0.7347 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.305, allocations: 39.42 kB / 0.7347 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.305, allocations: 0 / 0.7347 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3285, allocations: 4.521 MB / 0.7391 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.3288, allocations: 154.7 kB / 0.7393 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.853, allocations: 0 / 0.7393 GB, free: 1.93 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)