Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",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.8144/0.8144, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.001279/0.001279, allocations: 174.3 kB / 173.7 MB, free: 6.113 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.885/1.885, 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.001003/0.001003, allocations: 89.59 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003471, allocations: 8.469 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1669, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.3101, allocations: 104.5 MB / 0.7375 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.3104, allocations: 75.95 kB / 0.7375 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.3241, allocations: 4.671 MB / 0.7421 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3241, allocations: 0 / 0.7421 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3241, allocations: 4 kB / 0.7421 GB, free: 1.031 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.0008985/0.325, allocations: 0.5793 MB / 0.7427 GB, free: 388 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.3251, allocations: 12.03 kB / 0.7427 GB, free: 376 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.3252, allocations: 34.56 kB / 0.7427 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.3253, allocations: 35.66 kB / 0.7428 GB, free: 296 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3254, allocations: 184 kB / 0.7429 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3255, allocations: 8 kB / 0.7429 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.3255, allocations: 19.98 kB / 0.743 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3519/0.6774, allocations: 138.3 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.6775, allocations: 0.5 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.6775, allocations: 4.266 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6775, allocations: 6.844 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.6777, allocations: 44.73 kB / 0.7431 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.6782, allocations: 303.6 kB / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.6785, allocations: 124.7 kB / 0.7435 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.6785, allocations: 8.562 kB / 0.7436 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.6789, allocations: 204.8 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.6789, allocations: 0 / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0005489/0.6795, allocations: 268.8 kB / 0.744 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.6795, allocations: 60.5 kB / 0.7441 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.6797, allocations: 203 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.6798, allocations: 39.11 kB / 0.7443 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.6798, allocations: 94.31 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.6799, allocations: 40.56 kB / 0.7444 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6799, allocations: 7.594 kB / 0.7444 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.68, allocations: 321.2 kB / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.6803, allocations: 100.5 kB / 0.7448 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.6805, allocations: 152 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.6808, allocations: 153.8 kB / 0.7451 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6808, allocations: 3.594 kB / 0.7451 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007136/0.6815, allocations: 408.2 kB / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.6816, allocations: 74.58 kB / 0.7456 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6816, allocations: 1.312 kB / 0.7456 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6816, allocations: 3.984 kB / 0.7456 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6818, allocations: 27.08 kB / 0.7456 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6818, allocations: 9.5 kB / 0.7456 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.6822, allocations: 47.11 kB / 0.7457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.6822, allocations: 41.38 kB / 0.7457 GB, free: 107.2 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.0001514/0.6824, allocations: 167.5 kB / 0.7459 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.6824, allocations: 19.06 kB / 0.7459 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.6825, allocations: 20.98 kB / 0.7459 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6825, allocations: 5.547 kB / 0.7459 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6825, allocations: 3.953 kB / 0.7459 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6825, allocations: 0 / 0.7459 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.6832, allocations: 0.5419 MB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6833, allocations: 0 / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.6833, allocations: 10.09 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6833, allocations: 2.062 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.6834, allocations: 12.25 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6834, allocations: 3.969 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6834, allocations: 3.078 kB / 0.7465 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.6837, allocations: 307.3 kB / 0.7468 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6839, allocations: 140.9 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.6839, allocations: 7.516 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.6841, allocations: 17.17 kB / 0.7469 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.6842, allocations: 16.47 kB / 0.7469 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.6842, allocations: 27.31 kB / 0.747 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001036/0.6843, allocations: 158.5 kB / 0.7471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6843, allocations: 0 / 0.7471 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003302/0.6847, allocations: 56.84 kB / 0.7472 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.0006592/0.6853, allocations: 0.8653 MB / 0.748 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005437/0.6859, allocations: 348.9 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6859, allocations: 0 / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.6861, allocations: 67.72 kB / 0.7484 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.0002586/0.6863, allocations: 28.7 kB / 0.7484 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6876, allocations: 1.508 MB / 0.7499 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.6879, allocations: 0.7315 MB / 0.7506 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.688, allocations: 34.03 kB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.6881, allocations: 39 kB / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.6881, allocations: 0 / 0.7507 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.7104, allocations: 4.966 MB / 0.7556 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.7106, allocations: 188.8 kB / 0.7557 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.338, allocations: 0 / 0.7557 GB, free: 102.9 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)