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.0009097/0.0009096, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4584/0.4584, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 101.3 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.685e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3133, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4303, allocations: 104.2 MB / 0.6621 GB, free: 116 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4305, allocations: 71.95 kB / 0.6621 GB, free: 44 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.4443, allocations: 4.596 MB / 0.6666 GB, free: 11.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4443, allocations: 0 / 0.6666 GB, free: 11.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4443, allocations: 7.938 kB / 0.6666 GB, free: 11.46 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.0007108/0.445, allocations: 0.6406 MB / 0.6673 GB, free: 10.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4451, allocations: 11.98 kB / 0.6673 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.4451, allocations: 34.55 kB / 0.6673 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.4452, allocations: 39.67 kB / 0.6673 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.4455, allocations: 250.5 kB / 0.6676 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.4456, allocations: 15.98 kB / 0.6676 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.4457, allocations: 16 kB / 0.6676 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.4459, allocations: 149.5 kB / 0.6677 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4459, allocations: 0 / 0.6677 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.446, allocations: 4 kB / 0.6678 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.446, allocations: 4 kB / 0.6678 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.4461, allocations: 56.91 kB / 0.6678 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.4464, allocations: 321.4 kB / 0.6681 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4466, allocations: 110.5 kB / 0.6682 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4468, allocations: 57.22 kB / 0.6683 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.4468, allocations: 0 / 0.6683 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.447, allocations: 172 kB / 0.6684 GB, free: 9.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.447, allocations: 0 / 0.6684 GB, free: 9.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004679/0.4475, allocations: 246.2 kB / 0.6687 GB, free: 9.141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4476, allocations: 71.38 kB / 0.6687 GB, free: 9.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.4478, allocations: 255.3 kB / 0.669 GB, free: 8.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.4479, allocations: 37.7 kB / 0.669 GB, free: 8.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.4479, allocations: 94.53 kB / 0.6691 GB, free: 8.664 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.448, allocations: 31.62 kB / 0.6691 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.448, allocations: 15.98 kB / 0.6692 GB, free: 8.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4481, allocations: 318.8 kB / 0.6695 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.4483, allocations: 87.97 kB / 0.6695 GB, free: 8.211 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.4486, allocations: 141.9 kB / 0.6697 GB, free: 8.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.4488, allocations: 147.3 kB / 0.6698 GB, free: 7.895 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4488, allocations: 0 / 0.6698 GB, free: 7.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006149/0.4494, allocations: 391.2 kB / 0.6702 GB, free: 7.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.4495, allocations: 75.38 kB / 0.6703 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4495, allocations: 4.188 kB / 0.6703 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4495, allocations: 4 kB / 0.6703 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4496, allocations: 27.92 kB / 0.6703 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4497, allocations: 0 / 0.6703 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.45, allocations: 47.81 kB / 0.6703 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.45, allocations: 43.97 kB / 0.6704 GB, free: 7.285 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: 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.000109/0.4502, allocations: 134.8 kB / 0.6705 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.4502, allocations: 27.7 kB / 0.6705 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.4503, allocations: 34.06 kB / 0.6706 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4503, allocations: 0 / 0.6706 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4503, allocations: 4 kB / 0.6706 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4503, allocations: 0 / 0.6706 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.4511, allocations: 0.5963 MB / 0.6712 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4511, allocations: 0 / 0.6712 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.4511, allocations: 8 kB / 0.6712 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4511, allocations: 4 kB / 0.6712 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.4512, allocations: 19.97 kB / 0.6712 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4512, allocations: 0 / 0.6712 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4512, allocations: 0 / 0.6712 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.4516, allocations: 357.1 kB / 0.6715 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.4518, allocations: 156.7 kB / 0.6717 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.4519, allocations: 19.98 kB / 0.6717 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.4523, allocations: 39.97 kB / 0.6717 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.4524, allocations: 4 kB / 0.6717 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.4524, allocations: 43.97 kB / 0.6718 GB, free: 5.762 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.4526, allocations: 207.1 kB / 0.672 GB, free: 5.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4526, allocations: 0 / 0.672 GB, free: 5.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000294/0.4529, allocations: 52 kB / 0.672 GB, free: 5.504 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: 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.0007051/0.4536, allocations: 0.901 MB / 0.6729 GB, free: 4.578 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.4541, allocations: 337.4 kB / 0.6732 GB, free: 4.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4541, allocations: 0 / 0.6732 GB, free: 4.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4542, allocations: 68.34 kB / 0.6733 GB, free: 4.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.4545, allocations: 20.77 kB / 0.6733 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.4552, allocations: 329 kB / 0.6736 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.4554, allocations: 0.7554 MB / 0.6744 GB, free: 3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.4555, allocations: 12.77 kB / 0.6744 GB, free: 2.988 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.4555, allocations: 19.44 kB / 0.6744 GB, free: 2.969 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4555, allocations: 7.938 kB / 0.6744 GB, free: 2.961 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.4727, allocations: 4.921 MB / 0.6792 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.4729, allocations: 165.8 kB / 0.6794 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.985, allocations: 0 / 0.6794 GB, free: 13.98 MB / 0.4948 GB (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)