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.7659/0.7659, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.001428/0.001428, allocations: 182.4 kB / 173.8 MB, free: 6.121 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.831/1.831, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009879/0.0009877, allocations: 94.86 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 11.19 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 76.78 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.3154, allocations: 104.6 MB / 0.7375 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3157, allocations: 79.95 kB / 0.7376 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.33, allocations: 4.681 MB / 0.7422 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/0.33, allocations: 7.938 kB / 0.7422 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3301, allocations: 4 kB / 0.7422 GB, free: 0.9727 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.001063/0.3311, allocations: 0.5715 MB / 0.7427 GB, free: 336 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3312, allocations: 12.03 kB / 0.7428 GB, free: 324 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.3313, allocations: 38.55 kB / 0.7428 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3314, allocations: 27.77 kB / 0.7428 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3316, allocations: 191.9 kB / 0.743 GB, free: 12 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3544/0.6859, allocations: 16.34 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.6862, allocations: 14.28 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.6865, allocations: 143.4 kB / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.6866, allocations: 0 / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.6866, allocations: 2.375 kB / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.6866, allocations: 1.594 kB / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.6868, allocations: 44.48 kB / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.6872, allocations: 304 kB / 0.7435 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.6874, allocations: 128.7 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.6875, allocations: 2.938 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.6879, allocations: 204.1 kB / 0.7438 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.677e-06/0.6879, allocations: 3.469 kB / 0.7438 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0005717/0.6885, allocations: 266 kB / 0.7441 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.6885, allocations: 61.19 kB / 0.7441 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.6887, allocations: 201.8 kB / 0.7443 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.6888, allocations: 39.83 kB / 0.7444 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.6888, allocations: 92.95 kB / 0.7445 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.6889, allocations: 43.59 kB / 0.7445 GB, free: 108 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6889, allocations: 6.844 kB / 0.7445 GB, free: 108 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.689, allocations: 328.4 kB / 0.7448 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.6892, allocations: 95.73 kB / 0.7449 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.6895, allocations: 148.5 kB / 0.7451 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.6897, allocations: 159.4 kB / 0.7452 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6898, allocations: 1.844 kB / 0.7452 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007041/0.6905, allocations: 404.4 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/0.6905, allocations: 80.48 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6906, allocations: 2.5 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.6906, allocations: 4.156 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.6908, allocations: 28.45 kB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6908, allocations: 0 / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.6912, allocations: 50.3 kB / 0.7458 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.6913, allocations: 45.09 kB / 0.7458 GB, free: 107.4 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.0001695/0.6914, allocations: 160 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.6915, allocations: 14.5 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.6915, allocations: 30.17 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6915, allocations: 3.469 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6916, allocations: 4 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6916, allocations: 7.219 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.6923, allocations: 0.531 MB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6924, allocations: 4.516 kB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.6924, allocations: 15.75 kB / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6924, allocations: 0 / 0.7465 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.6925, allocations: 9.031 kB / 0.7466 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6925, allocations: 3.938 kB / 0.7466 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6925, allocations: 2.719 kB / 0.7466 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.6928, allocations: 305.6 kB / 0.7469 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.693, allocations: 144.4 kB / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.693, allocations: 6.844 kB / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6932, allocations: 14.41 kB / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.6932, allocations: 20.75 kB / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.6933, allocations: 20.72 kB / 0.747 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001154/0.6934, allocations: 163.2 kB / 0.7472 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6934, allocations: 0 / 0.7472 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003253/0.6937, allocations: 49.48 kB / 0.7473 GB, free: 106.6 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.0006013/0.6944, allocations: 0.8734 MB / 0.7481 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.6949, allocations: 343.4 kB / 0.7484 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6949, allocations: 1.312 kB / 0.7484 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.6951, allocations: 74.92 kB / 0.7485 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.6953, allocations: 17.75 kB / 0.7485 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.6965, allocations: 1.508 MB / 0.75 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.6966, allocations: 0.7324 MB / 0.7507 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00012/0.6968, allocations: 30.34 kB / 0.7507 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6969, allocations: 43.03 kB / 0.7508 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.6969, allocations: 0 / 0.7508 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.7201, allocations: 4.975 MB / 0.7556 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.7204, allocations: 194.6 kB / 0.7558 GB, free: 103 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.324, allocations: 1.562 kB / 0.7558 GB, free: 103 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)