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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008493/0.0008493, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009568/0.0009568, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.095/2.095, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5194, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001189/0.5207, allocations: 1.233 MB / 0.9564 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.5216, allocations: 0.5762 MB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.5217, allocations: 0 / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.533e-05/0.5218, allocations: 4.812 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.5219, allocations: 26.94 kB / 0.957 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.5224, allocations: 280.7 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.5227, allocations: 460.5 kB / 0.9577 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.5228, allocations: 9.078 kB / 0.9577 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.5231, allocations: 303.7 kB / 0.958 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.5233, allocations: 157.8 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.5234, allocations: 15.28 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.5234, allocations: 16.59 kB / 0.9582 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5236, allocations: 120.8 kB / 0.9583 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.5237, allocations: 200.7 kB / 0.9585 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.524, allocations: 413.1 kB / 0.9589 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.524, allocations: 0 / 0.9589 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.524, allocations: 0 / 0.9589 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.524, allocations: 0 / 0.9589 GB, free: 5.09 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.0007556/0.5248, allocations: 0.7512 MB / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5248, allocations: 13.62 kB / 0.9596 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.5249, allocations: 36.11 kB / 0.9596 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.059e-05/0.525, allocations: 50.72 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.5252, allocations: 318.5 kB / 0.96 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.5253, allocations: 14 kB / 0.96 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.5254, allocations: 26.36 kB / 0.96 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000902/0.5263, allocations: 232.5 kB / 0.9602 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5263, allocations: 3.938 kB / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.5263, allocations: 5.188 kB / 0.9603 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5263, allocations: 0.9375 kB / 0.9603 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.5271, allocations: 109.1 kB / 0.9604 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.5274, allocations: 391.9 kB / 0.9607 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.5284, allocations: 195 kB / 0.9609 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.5291, allocations: 124 kB / 0.961 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.5292, allocations: 2.406 kB / 0.961 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/0.53, allocations: 241.6 kB / 0.9613 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.53, allocations: 0 / 0.9613 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002381/0.5324, allocations: 0.5053 MB / 0.9618 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.5325, allocations: 64.17 kB / 0.9618 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.5328, allocations: 412.6 kB / 0.9622 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.5328, allocations: 41.81 kB / 0.9623 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.5329, allocations: 92.61 kB / 0.9623 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.5329, allocations: 45.66 kB / 0.9624 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.533, allocations: 42.84 kB / 0.9624 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.533, allocations: 321.4 kB / 0.9627 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.5333, allocations: 121.9 kB / 0.9629 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.5335, allocations: 169.1 kB / 0.963 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.5338, allocations: 281.3 kB / 0.9633 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5338, allocations: 0 / 0.9633 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006749/0.5345, allocations: 494.5 kB / 0.9638 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.5345, allocations: 91.38 kB / 0.9638 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5345, allocations: 2.062 kB / 0.9638 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5345, allocations: 2.594 kB / 0.9638 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.5347, allocations: 26.66 kB / 0.9639 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5347, allocations: 6.109 kB / 0.9639 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.5352, allocations: 74.45 kB / 0.964 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.5353, allocations: 56.67 kB / 0.964 GB, free: 1.324 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.0001659/0.5354, allocations: 198.2 kB / 0.9642 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.5355, allocations: 40.09 kB / 0.9642 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.5355, allocations: 36.44 kB / 0.9643 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5355, allocations: 5.969 kB / 0.9643 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5356, allocations: 4 kB / 0.9643 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5356, allocations: 0.9688 kB / 0.9643 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.5375, allocations: 0.769 MB / 0.965 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5375, allocations: 0 / 0.965 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.5375, allocations: 4.375 kB / 0.965 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5376, allocations: 1 kB / 0.965 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.5376, allocations: 27.19 kB / 0.9651 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5376, allocations: 9 kB / 0.9651 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5376, allocations: 1.031 kB / 0.9651 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.5392, allocations: 0.4895 MB / 0.9655 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.5394, allocations: 195.6 kB / 0.9657 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.5394, allocations: 13.59 kB / 0.9657 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.5399, allocations: 40.8 kB / 0.9658 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.5399, allocations: 4.219 kB / 0.9658 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.54, allocations: 61.22 kB / 0.9658 GB, free: 88 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002635/0.5403, allocations: 294.3 kB / 0.9661 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5403, allocations: 0 / 0.9661 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003126/0.5406, allocations: 65.92 kB / 0.9662 GB, free: 15.9 MB / 0.7325 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.001907/0.5425, allocations: 1.042 MB / 0.9672 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.5437, allocations: 452.3 kB / 0.9676 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5437, allocations: 0 / 0.9676 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.5444, allocations: 130.5 kB / 0.9678 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.5448, allocations: 25.67 kB / 0.9678 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.5485, allocations: 2.909 MB / 0.9706 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.5488, allocations: 0.7752 MB / 0.9714 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.5489, allocations: 12.39 kB / 0.9714 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.5489, allocations: 26.45 kB / 0.9714 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5489, allocations: 4 kB / 0.9714 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.5645, allocations: 5.917 MB / 0.9772 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.5647, allocations: 210.3 kB / 0.9774 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.141, allocations: 0 / 0.9774 GB, free: 7.895 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)