Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003116/0.003116, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.467/3.467, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.22/3.22, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001039/0.00104, allocations: 12.41 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4994, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003323/0.5028, allocations: 1.183 MB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.5045, allocations: 408.3 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.5047, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.105e-05/0.5047, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.505, allocations: 27.89 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5062, allocations: 205.9 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.5066, allocations: 155.8 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.5067, allocations: 8 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.5071, allocations: 175.6 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.5074, allocations: 127.7 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.5075, allocations: 8 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.5076, allocations: 12 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.5077, allocations: 79.78 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.5079, allocations: 65.58 kB / 0.7896 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.5082, allocations: 211.8 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5083, allocations: 4 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.739e-06/0.5083, allocations: 0 / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5083, allocations: 0 / 0.7898 GB, free: 9.234 MB / 0.6075 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.001746/0.51, allocations: 0.6604 MB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.5101, allocations: 8.031 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.335e-05/0.5102, allocations: 38.56 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.5104, allocations: 35.64 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.511, allocations: 258.4 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.5111, allocations: 20 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.5112, allocations: 19.98 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.5126, allocations: 209.4 kB / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5126, allocations: 0 / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.5127, allocations: 7.938 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.5127, allocations: 4 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5138, allocations: 99.92 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.5146, allocations: 329.2 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.5162, allocations: 186.4 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.5163, allocations: 0 / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.5179, allocations: 219.2 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 5.55e-06/0.518, allocations: 0 / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.004655/0.5226, allocations: 485 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5228, allocations: 59.39 kB / 0.7923 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.5234, allocations: 290.9 kB / 0.7926 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.5236, allocations: 33.7 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5238, allocations: 97.11 kB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.5239, allocations: 39.55 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.524, allocations: 8 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.5242, allocations: 330.8 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.5246, allocations: 79.95 kB / 0.7932 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.525, allocations: 137.2 kB / 0.7933 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.5255, allocations: 151.3 kB / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5255, allocations: 0 / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001137/0.5266, allocations: 388.7 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.5268, allocations: 71.39 kB / 0.7939 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5268, allocations: 0 / 0.7939 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/0.5269, allocations: 7.938 kB / 0.7939 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.5272, allocations: 31.91 kB / 0.7939 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.5273, allocations: 4.172 kB / 0.7939 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.5281, allocations: 63.86 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.5282, allocations: 39.98 kB / 0.794 GB, free: 4.578 MB / 0.6075 GB 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 () * Number of clocked 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.0004556/0.5287, allocations: 178.7 kB / 0.7942 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.5288, allocations: 27.58 kB / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.5289, allocations: 30.3 kB / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5289, allocations: 0 / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.5289, allocations: 4 kB / 0.7943 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.529, allocations: 3.984 kB / 0.7943 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.5323, allocations: 0.7195 MB / 0.795 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5323, allocations: 3.938 kB / 0.795 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.5324, allocations: 4 kB / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/0.5325, allocations: 4 kB / 0.795 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.5326, allocations: 19.97 kB / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5326, allocations: 0 / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5326, allocations: 0 / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.5356, allocations: 474.9 kB / 0.7954 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.5361, allocations: 156.7 kB / 0.7956 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.5362, allocations: 19.92 kB / 0.7956 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.537, allocations: 35.97 kB / 0.7956 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.5371, allocations: 7.984 kB / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.5372, allocations: 35.98 kB / 0.7957 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004636/0.5377, allocations: 217.9 kB / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5377, allocations: 0 / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007219/0.5384, allocations: 47.98 kB / 0.7959 GB, free: 2.52 MB / 0.6075 GB 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) * Number of clocked states: 0 () * 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.003646/0.5421, allocations: 1.019 MB / 0.7969 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.5444, allocations: 381.1 kB / 0.7973 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.5445, allocations: 384 / 0.7973 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5458, allocations: 127.9 kB / 0.7974 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.5463, allocations: 28.56 kB / 0.7975 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.5499, allocations: 1.658 MB / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.5507, allocations: 0.7516 MB / 0.7998 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.5509, allocations: 9.094 kB / 0.7998 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.551, allocations: 23.42 kB / 0.7998 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of SimCode: time 2.715e-06/0.551, allocations: 0 / 0.7998 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.5727, allocations: 4.504 MB / 0.8042 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.5729, allocations: 185.2 kB / 0.8044 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/3.764, allocations: 0 / 0.8044 GB, free: 9.785 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: