Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.002303/0.002302, allocations: 98.92 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.003516/0.003516, 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.388/3.388, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.158/3.158, 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.001104/0.001104, allocations: 12.09 kB / 0.6736 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4767, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003167/0.4799, allocations: 1.186 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.4819, allocations: 408.3 kB / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.4821, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.49e-05/0.4822, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.4825, allocations: 23.91 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.4839, allocations: 218.4 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000449/0.4844, allocations: 155.8 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.4845, allocations: 4 kB / 0.7892 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005053/0.485, allocations: 175.6 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.4855, allocations: 127.7 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.4856, allocations: 8 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.4856, allocations: 12 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.4859, allocations: 79.78 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.486, allocations: 65.58 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.4865, allocations: 215.8 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4865, allocations: 0 / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4865, allocations: 0 / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.4865, allocations: 0 / 0.7898 GB, free: 9.25 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.001745/0.4883, allocations: 0.6604 MB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001124/0.4884, allocations: 8.031 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.4886, allocations: 42.55 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4887, allocations: 27.72 kB / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.4895, allocations: 258.4 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.4896, allocations: 16 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.4897, allocations: 19.98 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.4915, allocations: 209.5 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4915, allocations: 3.938 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.4916, allocations: 0 / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4916, allocations: 4 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.493, allocations: 103.9 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.4938, allocations: 337.1 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.4957, allocations: 190.4 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.4958, allocations: 0 / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.4976, allocations: 215.2 kB / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 4.719e-06/0.4976, allocations: 0 / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.005134/0.5027, allocations: 489 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.5029, allocations: 55.41 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.5037, allocations: 290.9 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.5039, allocations: 37.69 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.5041, allocations: 89.14 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5042, allocations: 43.53 kB / 0.7928 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.5043, allocations: 8 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002619/0.5046, allocations: 330.8 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.505, allocations: 79.95 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.5054, allocations: 133.9 kB / 0.7933 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.5059, allocations: 151.3 kB / 0.7934 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.5059, allocations: 0 / 0.7934 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001169/0.5071, allocations: 391.4 kB / 0.7938 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.5073, allocations: 71.39 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5073, allocations: 7.938 kB / 0.7939 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.5073, allocations: 4 kB / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.5076, allocations: 36.09 kB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.5076, allocations: 0 / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.5085, allocations: 59.86 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5086, allocations: 43.97 kB / 0.794 GB, free: 4.59 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.0003993/0.509, allocations: 175.9 kB / 0.7942 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5092, allocations: 35.56 kB / 0.7942 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.5093, allocations: 22.31 kB / 0.7943 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5093, allocations: 7.984 kB / 0.7943 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5093, allocations: 0 / 0.7943 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5093, allocations: 0 / 0.7943 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.5126, allocations: 0.7157 MB / 0.795 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.5126, allocations: 4 kB / 0.795 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.5127, allocations: 3.984 kB / 0.795 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.5127, allocations: 4 kB / 0.795 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.5128, allocations: 11.98 kB / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5128, allocations: 0 / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5128, allocations: 0 / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.5152, allocations: 474.9 kB / 0.7954 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.5155, allocations: 164.7 kB / 0.7956 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.5156, allocations: 12 kB / 0.7956 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.5161, allocations: 39.91 kB / 0.7956 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.5162, allocations: 11.97 kB / 0.7957 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/0.5163, allocations: 43.97 kB / 0.7957 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004376/0.5167, allocations: 209.9 kB / 0.7959 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5167, allocations: 0 / 0.7959 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005383/0.5173, allocations: 51.98 kB / 0.796 GB, free: 2.531 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.00251/0.5198, allocations: 1.015 MB / 0.7969 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.5215, allocations: 385.9 kB / 0.7973 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.5215, allocations: 4 kB / 0.7973 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.5222, allocations: 123.8 kB / 0.7974 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.5226, allocations: 20.77 kB / 0.7975 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.526, allocations: 1.654 MB / 0.7991 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.5268, allocations: 0.7516 MB / 0.7998 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.5269, allocations: 13.08 kB / 0.7998 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.527, allocations: 19.44 kB / 0.7998 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of SimCode: time 1.724e-06/0.527, allocations: 4 kB / 0.7998 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.5578, allocations: 4.501 MB / 0.8042 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/0.5583, allocations: 196.6 kB / 0.8044 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.502, allocations: 0 / 0.8044 GB, free: 9.812 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: