Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001981/0.001981, allocations: 99.86 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.002681/0.002681, allocations: 177.3 kB / 15.95 MB, free: 216 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.368/3.368, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.013/3.013, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0008443/0.0008447, allocations: 13.25 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4342, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003021/0.4373, allocations: 1.19 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.4391, allocations: 392.4 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.4393, allocations: 3.938 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.4394, allocations: 11.98 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.4396, allocations: 23.91 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.441, allocations: 214.8 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.4414, allocations: 151.8 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.4415, allocations: 4 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.4421, allocations: 175.6 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.4425, allocations: 131.7 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.4426, allocations: 12 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.4426, allocations: 8 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.4429, allocations: 79.77 kB / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.4431, allocations: 69.58 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.4435, allocations: 207.8 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4435, allocations: 0 / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.22e-06/0.4435, allocations: 0 / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4436, allocations: 0 / 0.7898 GB, free: 9.227 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.001751/0.4453, allocations: 0.6682 MB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.457e-05/0.4454, allocations: 12.03 kB / 0.7905 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.942e-05/0.4455, allocations: 30.56 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.4457, allocations: 31.72 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.4463, allocations: 258.4 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.106e-05/0.4464, allocations: 15.98 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.4465, allocations: 12 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.4479, allocations: 209.5 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4479, allocations: 0 / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.448, allocations: 15.92 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.448, allocations: 4 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4491, allocations: 103.9 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.4496, allocations: 325.2 kB / 0.7914 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4511, allocations: 190.4 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.4512, allocations: 7.984 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/0.4527, allocations: 222.3 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 5.049e-06/0.4527, allocations: 0 / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.003922/0.4566, allocations: 477 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.4568, allocations: 63.39 kB / 0.7923 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.4574, allocations: 294.9 kB / 0.7926 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.4576, allocations: 33.7 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4577, allocations: 97.12 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.4578, allocations: 31.56 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4579, allocations: 11.98 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002657/0.4582, allocations: 322.8 kB / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.4585, allocations: 83.94 kB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.4589, allocations: 132.8 kB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.4593, allocations: 155.3 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4593, allocations: 0 / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001045/0.4604, allocations: 398.7 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4605, allocations: 71.39 kB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.4605, allocations: 4 kB / 0.7939 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.4606, allocations: 3.938 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.4608, allocations: 27.86 kB / 0.7939 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.4609, allocations: 7.984 kB / 0.7939 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.4616, allocations: 60.06 kB / 0.794 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4618, allocations: 43.98 kB / 0.794 GB, free: 4.562 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.0003802/0.4622, allocations: 171.9 kB / 0.7942 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.4623, allocations: 31.58 kB / 0.7942 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.036e-05/0.4624, allocations: 30.3 kB / 0.7943 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.4624, allocations: 4 kB / 0.7943 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4624, allocations: 0 / 0.7943 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4624, allocations: 0 / 0.7943 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/0.4661, allocations: 0.7128 MB / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.4661, allocations: 0 / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.4662, allocations: 4 kB / 0.795 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.4662, allocations: 4 kB / 0.795 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.4663, allocations: 19.97 kB / 0.795 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4663, allocations: 0 / 0.795 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4663, allocations: 0 / 0.795 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.469, allocations: 470.2 kB / 0.7954 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.4694, allocations: 160.7 kB / 0.7956 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.4695, allocations: 11.94 kB / 0.7956 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.4705, allocations: 43.89 kB / 0.7957 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.4706, allocations: 11.98 kB / 0.7957 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.4707, allocations: 43.97 kB / 0.7957 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004973/0.4712, allocations: 205.9 kB / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4713, allocations: 0 / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000857/0.4721, allocations: 48 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.003107/0.4752, allocations: 1.016 MB / 0.7969 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.4773, allocations: 390.6 kB / 0.7973 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4773, allocations: 0 / 0.7973 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.4784, allocations: 124.2 kB / 0.7974 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.4789, allocations: 20.64 kB / 0.7974 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.4829, allocations: 1.654 MB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.4837, allocations: 0.7476 MB / 0.7998 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00014/0.4838, allocations: 17.08 kB / 0.7998 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.484, allocations: 27.42 kB / 0.7998 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of SimCode: time 1.273e-06/0.484, allocations: 0 / 0.7998 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.5109, allocations: 4.502 MB / 0.8042 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004337/0.5114, allocations: 192 kB / 0.8044 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/3.726, allocations: 0 / 0.8044 GB, free: 9.789 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: