Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 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_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_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.001229/0.001229, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001019/0.001019, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.024/2.024, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.89 kB / 0.8121 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4497, allocations: 140.4 MB / 0.9492 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001936/0.4516, allocations: 1.577 MB / 0.9508 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.4525, allocations: 0.5367 MB / 0.9513 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.4526, allocations: 4 kB / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.075e-05/0.4527, allocations: 7.922 kB / 0.9513 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.4528, allocations: 23.77 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.4534, allocations: 292.2 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.4538, allocations: 0.4991 MB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.4539, allocations: 8.922 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.4542, allocations: 337.7 kB / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.4545, allocations: 166.7 kB / 0.9526 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.4545, allocations: 26.69 kB / 0.9526 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.4546, allocations: 27.03 kB / 0.9526 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4547, allocations: 132.2 kB / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.4549, allocations: 190.9 kB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.4552, allocations: 425.5 kB / 0.9533 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4552, allocations: 4 kB / 0.9533 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4552, allocations: 7.875 kB / 0.9534 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4552, allocations: 0 / 0.9534 GB, free: 6.293 MB / 0.7169 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.0009096/0.4561, allocations: 0.8676 MB / 0.9542 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4561, allocations: 9.594 kB / 0.9542 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.4562, allocations: 40.73 kB / 0.9543 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.4563, allocations: 50.62 kB / 0.9543 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.4565, allocations: 310.5 kB / 0.9546 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.4566, allocations: 14.47 kB / 0.9546 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.4567, allocations: 30.67 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.4575, allocations: 218.8 kB / 0.9548 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4576, allocations: 7.875 kB / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.4576, allocations: 0 / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4576, allocations: 3.312 kB / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.4583, allocations: 97.56 kB / 0.955 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.4586, allocations: 392.7 kB / 0.9553 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/0.4596, allocations: 177 kB / 0.9555 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.4603, allocations: 116 kB / 0.9556 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4603, allocations: 1.031 kB / 0.9556 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008265/0.4612, allocations: 230.5 kB / 0.9558 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.4612, allocations: 0 / 0.9558 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002345/0.4635, allocations: 483.1 kB / 0.9563 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4636, allocations: 67.64 kB / 0.9564 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.4639, allocations: 409.9 kB / 0.9567 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.4639, allocations: 45.88 kB / 0.9568 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.464, allocations: 92.33 kB / 0.9569 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.464, allocations: 37.05 kB / 0.9569 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.4642, allocations: 132.6 kB / 0.957 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.4642, allocations: 321 kB / 0.9573 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.4644, allocations: 121.1 kB / 0.9575 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.4647, allocations: 175.5 kB / 0.9576 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.465, allocations: 278.4 kB / 0.9579 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.465, allocations: 0.875 kB / 0.9579 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006767/0.4657, allocations: 498.2 kB / 0.9584 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.4657, allocations: 87 kB / 0.9584 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4657, allocations: 2.469 kB / 0.9585 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4657, allocations: 2.906 kB / 0.9585 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.4659, allocations: 29.83 kB / 0.9585 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4659, allocations: 6.547 kB / 0.9585 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.4664, allocations: 62.48 kB / 0.9585 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.4665, allocations: 60.98 kB / 0.9586 GB, free: 2.445 MB / 0.7169 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.4666, allocations: 197.8 kB / 0.9588 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.4667, allocations: 40.2 kB / 0.9588 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.4667, allocations: 36.16 kB / 0.9589 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4667, allocations: 2.188 kB / 0.9589 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4668, allocations: 5.094 kB / 0.9589 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4668, allocations: 0 / 0.9589 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.4687, allocations: 0.746 MB / 0.9596 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4687, allocations: 1.156 kB / 0.9596 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.4687, allocations: 7.469 kB / 0.9596 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4688, allocations: 1.219 kB / 0.9596 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.4688, allocations: 23.59 kB / 0.9596 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4688, allocations: 1.125 kB / 0.9596 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4688, allocations: 0 / 0.9596 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4704, allocations: 479.3 kB / 0.9601 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.4706, allocations: 199.2 kB / 0.9603 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.4707, allocations: 13.12 kB / 0.9603 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.4712, allocations: 35.12 kB / 0.9603 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.4712, allocations: 8.391 kB / 0.9603 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.4713, allocations: 60.88 kB / 0.9604 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002093/0.4715, allocations: 294 kB / 0.9607 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4715, allocations: 1.281 kB / 0.9607 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003252/0.4718, allocations: 69.64 kB / 0.9607 GB, free: 1.031 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/0.4735, allocations: 1.017 MB / 0.9617 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.4746, allocations: 445.6 kB / 0.9622 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4746, allocations: 0 / 0.9622 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.4754, allocations: 117.2 kB / 0.9623 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.4757, allocations: 29.08 kB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.4792, allocations: 2.898 MB / 0.9651 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4795, allocations: 0.7707 MB / 0.9659 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.4796, allocations: 11.94 kB / 0.9659 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.4796, allocations: 26.11 kB / 0.9659 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.4796, allocations: 1.438 kB / 0.9659 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.392/4.872, allocations: 6.191 MB / 0.972 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/4.872, allocations: 208.6 kB / 0.9722 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/6.618, allocations: 3.234 kB / 0.9722 GB, free: 9.348 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)