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.6801/0.6801, allocations: 127.4 MB / 134.9 MB, free: 3.766 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.0009977/0.0009976, allocations: 192.8 kB / 164.7 MB, free: 6.516 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.42/1.42, allocations: 205.2 MB / 399.5 MB, free: 5.883 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.0008277/0.0008277, allocations: 99.14 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.276e-05, allocations: 0 / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 76.77 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6813, allocations: 104.1 MB / 0.7233 GB, free: 11.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.6817, allocations: 80.64 kB / 0.7234 GB, free: 11.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.6946, allocations: 4.653 MB / 0.7279 GB, free: 7.207 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6947, allocations: 0 / 0.7279 GB, free: 7.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.6947, allocations: 8 kB / 0.728 GB, free: 7.199 MB / 490.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.000759/0.6954, allocations: 0.5386 MB / 0.7285 GB, free: 6.609 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6955, allocations: 12.03 kB / 0.7285 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.6956, allocations: 31.67 kB / 0.7285 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.6957, allocations: 191.9 kB / 0.7287 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6958, allocations: 4 kB / 0.7287 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.6958, allocations: 12 kB / 0.7287 GB, free: 6.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001094/0.6959, allocations: 45.98 kB / 0.7288 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.6962, allocations: 130.4 kB / 0.7289 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6962, allocations: 0 / 0.7289 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.6962, allocations: 0 / 0.7289 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.6962, allocations: 3.984 kB / 0.7289 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.6966, allocations: 285.3 kB / 0.7292 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.6968, allocations: 118.8 kB / 0.7293 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.6968, allocations: 47.03 kB / 0.7293 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.6969, allocations: 4 kB / 0.7293 GB, free: 5.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.6972, allocations: 207.3 kB / 0.7295 GB, free: 5.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.896e-06/0.6972, allocations: 0 / 0.7295 GB, free: 5.578 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003768/0.6976, allocations: 200.2 kB / 0.7297 GB, free: 5.406 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.6977, allocations: 62.89 kB / 0.7298 GB, free: 5.336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.6978, allocations: 187.8 kB / 0.73 GB, free: 5.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.6979, allocations: 41.2 kB / 0.73 GB, free: 5.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.698, allocations: 88.91 kB / 0.7301 GB, free: 5.043 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.698, allocations: 42.08 kB / 0.7301 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.6981, allocations: 4 kB / 0.7301 GB, free: 5.008 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6982, allocations: 326.3 kB / 0.7304 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.6984, allocations: 79.66 kB / 0.7305 GB, free: 4.633 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.6986, allocations: 142.8 kB / 0.7306 GB, free: 4.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.6987, allocations: 72.14 kB / 0.7307 GB, free: 4.453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6987, allocations: 0 / 0.7307 GB, free: 4.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005294/0.6993, allocations: 312.3 kB / 0.731 GB, free: 4.199 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.6993, allocations: 74.64 kB / 0.7311 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6993, allocations: 4 kB / 0.7311 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6994, allocations: 0 / 0.7311 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6995, allocations: 23.92 kB / 0.7311 GB, free: 4.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.6995, allocations: 7.984 kB / 0.7311 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.6999, allocations: 47.55 kB / 0.7312 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.7, allocations: 43.97 kB / 0.7312 GB, free: 4 MB / 490.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: 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.0001423/0.7001, allocations: 130.7 kB / 0.7313 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000277/0.7004, allocations: 194.7 kB / 0.7315 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.7005, allocations: 19.72 kB / 0.7315 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.7005, allocations: 21.28 kB / 0.7316 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7005, allocations: 3.984 kB / 0.7316 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7005, allocations: 0 / 0.7316 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.7005, allocations: 8 kB / 0.7316 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.7012, allocations: 0.4954 MB / 0.732 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7012, allocations: 0 / 0.732 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.7013, allocations: 11.98 kB / 0.7321 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7013, allocations: 0 / 0.7321 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.7013, allocations: 7.984 kB / 0.7321 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7013, allocations: 0 / 0.7321 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7013, allocations: 3.938 kB / 0.7321 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.7017, allocations: 311.4 kB / 0.7324 GB, free: 2.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.7018, allocations: 131.9 kB / 0.7325 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.7019, allocations: 11.55 kB / 0.7325 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.702, allocations: 8 kB / 0.7325 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.7021, allocations: 19.72 kB / 0.7325 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.7021, allocations: 19.98 kB / 0.7325 GB, free: 2.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.7023, allocations: 155.4 kB / 0.7327 GB, free: 2.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7023, allocations: 0 / 0.7327 GB, free: 2.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.7026, allocations: 63.38 kB / 0.7328 GB, free: 2.496 MB / 490.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: 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.0006417/0.7032, allocations: 0.8346 MB / 0.7336 GB, free: 1.672 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.7037, allocations: 319.6 kB / 0.7339 GB, free: 1.398 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7037, allocations: 384 / 0.7339 GB, free: 1.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.7038, allocations: 71.42 kB / 0.7339 GB, free: 1.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.704, allocations: 15.03 kB / 0.734 GB, free: 1.336 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.7047, allocations: 262.5 kB / 0.7342 GB, free: 1.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.705, allocations: 0.7345 MB / 0.7349 GB, free: 320 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.7051, allocations: 37.12 kB / 0.735 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.7052, allocations: 44.61 kB / 0.735 GB, free: 248 kB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7052, allocations: 0 / 0.735 GB, free: 248 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.7318, allocations: 4.517 MB / 0.7394 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.7321, allocations: 161.4 kB / 0.7396 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.435, allocations: 0 / 0.7396 GB, free: 11.52 MB / 0.4948 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)