Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_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.0008435/0.0008435, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005041/0.005041, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.145/2.145, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5334, allocations: 142.4 MB / 0.9552 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001165/0.5345, allocations: 1.236 MB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.5356, allocations: 0.5856 MB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.5356, allocations: 1.125 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.334e-05/0.5357, allocations: 7.922 kB / 0.9569 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.5358, allocations: 19.48 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.5364, allocations: 286.9 kB / 0.9572 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.5367, allocations: 447.3 kB / 0.9577 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.5367, allocations: 12.89 kB / 0.9577 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.5371, allocations: 305 kB / 0.958 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.5373, allocations: 162 kB / 0.9581 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.5374, allocations: 18.5 kB / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.5375, allocations: 12.47 kB / 0.9582 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5376, allocations: 117 kB / 0.9583 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.5377, allocations: 207.5 kB / 0.9585 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.538, allocations: 409.2 kB / 0.9589 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.538, allocations: 1.375 kB / 0.9589 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.538, allocations: 0 / 0.9589 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.5381, allocations: 4 kB / 0.9589 GB, free: 5.133 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.0007377/0.5388, allocations: 0.7512 MB / 0.9596 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.5388, allocations: 9.625 kB / 0.9596 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.5389, allocations: 40.11 kB / 0.9596 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.539, allocations: 50.72 kB / 0.9597 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.5392, allocations: 309.2 kB / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.5393, allocations: 15.36 kB / 0.96 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.5394, allocations: 30.12 kB / 0.96 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.5403, allocations: 227.9 kB / 0.9602 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5403, allocations: 3.938 kB / 0.9602 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.5403, allocations: 1.062 kB / 0.9602 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5403, allocations: 10.23 kB / 0.9603 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.5411, allocations: 108.5 kB / 0.9604 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.5414, allocations: 400.3 kB / 0.9607 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.5424, allocations: 187.4 kB / 0.9609 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007289/0.5432, allocations: 120.9 kB / 0.961 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.5432, allocations: 2.281 kB / 0.961 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008684/0.5441, allocations: 241.7 kB / 0.9613 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.5441, allocations: 0.9688 kB / 0.9613 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002422/0.5465, allocations: 0.5076 MB / 0.9618 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.5466, allocations: 59.67 kB / 0.9618 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.5469, allocations: 417.5 kB / 0.9622 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.5469, allocations: 41.59 kB / 0.9623 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.547, allocations: 96.34 kB / 0.9624 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.547, allocations: 37.89 kB / 0.9624 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.5471, allocations: 40.27 kB / 0.9624 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.5471, allocations: 325.3 kB / 0.9627 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.5474, allocations: 120.9 kB / 0.9629 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.5476, allocations: 170.9 kB / 0.963 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.5479, allocations: 277 kB / 0.9633 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5479, allocations: 1.375 kB / 0.9633 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006997/0.5486, allocations: 495.4 kB / 0.9638 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.5487, allocations: 91.62 kB / 0.9638 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5487, allocations: 1.25 kB / 0.9638 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5487, allocations: 3.625 kB / 0.9638 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5488, allocations: 29.41 kB / 0.9639 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5489, allocations: 7.219 kB / 0.9639 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.5493, allocations: 69.7 kB / 0.9639 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.5494, allocations: 57.17 kB / 0.964 GB, free: 1.371 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.0001771/0.5496, allocations: 198.3 kB / 0.9642 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.5497, allocations: 40.25 kB / 0.9642 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.5497, allocations: 39.97 kB / 0.9643 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5497, allocations: 5.938 kB / 0.9643 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5497, allocations: 0 / 0.9643 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5498, allocations: 4.984 kB / 0.9643 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.5517, allocations: 0.7722 MB / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5517, allocations: 0 / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.5518, allocations: 4.031 kB / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5518, allocations: 0.9688 kB / 0.965 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.5518, allocations: 19.19 kB / 0.9651 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.5518, allocations: 1.562 kB / 0.9651 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5518, allocations: 0 / 0.9651 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5535, allocations: 0.493 MB / 0.9655 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5536, allocations: 199.7 kB / 0.9657 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.5537, allocations: 9.531 kB / 0.9657 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.5542, allocations: 39.83 kB / 0.9658 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.5542, allocations: 11.89 kB / 0.9658 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.5543, allocations: 53.73 kB / 0.9658 GB, free: 144 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002656/0.5546, allocations: 302.1 kB / 0.9661 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5546, allocations: 0 / 0.9661 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003272/0.5549, allocations: 66.45 kB / 0.9662 GB, free: 15.95 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.001965/0.5569, allocations: 1.046 MB / 0.9672 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.5581, allocations: 443.6 kB / 0.9676 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5581, allocations: 4.062 kB / 0.9676 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.5588, allocations: 127.1 kB / 0.9678 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.5592, allocations: 31.33 kB / 0.9678 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.5631, allocations: 2.904 MB / 0.9706 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5634, allocations: 0.7751 MB / 0.9714 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.344e-05/0.5635, allocations: 12.06 kB / 0.9714 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.5635, allocations: 21.86 kB / 0.9714 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.5635, allocations: 1.031 kB / 0.9714 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.5797, allocations: 5.921 MB / 0.9772 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.58, allocations: 210.3 kB / 0.9774 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.245, allocations: 1.625 kB / 0.9774 GB, free: 7.875 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)