Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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.002669/0.002669, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003887/0.003887, allocations: 191.7 kB / 16.25 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.792/2.792, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.226/4.226, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 69 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4161, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003733/0.4199, allocations: 1.584 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.4215, allocations: 0.5452 MB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4216, allocations: 4 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.4218, allocations: 7.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.4219, allocations: 27.84 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.4231, allocations: 283.6 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.4239, allocations: 0.5072 MB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.637e-05/0.424, allocations: 7.984 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.4247, allocations: 335 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.4251, allocations: 171.2 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.4252, allocations: 28 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.4253, allocations: 24 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.4254, allocations: 123.6 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.4257, allocations: 194.8 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.4262, allocations: 426.9 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.4262, allocations: 4 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4262, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.4263, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 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.001558/0.4278, allocations: 0.8703 MB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.4279, allocations: 8.625 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.308e-05/0.428, allocations: 42.73 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.4281, allocations: 44.56 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.4286, allocations: 310.2 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.4287, allocations: 24.3 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.4288, allocations: 28.36 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.4299, allocations: 217.2 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4299, allocations: 3.938 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4299, allocations: 4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4299, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.4307, allocations: 99.91 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.4314, allocations: 401.2 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.4328, allocations: 170.4 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.4336, allocations: 120.8 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.4337, allocations: 4 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.4349, allocations: 229.2 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.494e-06/0.4349, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002718/0.4376, allocations: 480.9 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.4377, allocations: 67.34 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.4382, allocations: 413.8 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/0.4383, allocations: 37.7 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4384, allocations: 97.44 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.4384, allocations: 31.61 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.4387, allocations: 129.3 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4388, allocations: 322.8 kB / 1.061 GB, free: 72 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.4391, allocations: 115.9 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.4394, allocations: 170.4 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.4399, allocations: 290.8 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4399, allocations: 0 / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009277/0.4408, allocations: 497.9 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.4409, allocations: 91.31 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.441, allocations: 3.984 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.441, allocations: 4.188 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.4412, allocations: 27.86 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4412, allocations: 4 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.4418, allocations: 59.8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.4419, allocations: 59.97 kB / 1.062 GB, free: 14.69 MB / 0.8262 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.0002471/0.4421, allocations: 204 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.4422, allocations: 39.47 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.4423, allocations: 35.75 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4423, allocations: 3.984 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4423, allocations: 0 / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4423, allocations: 4 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.4446, allocations: 0.7461 MB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4446, allocations: 0 / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.4446, allocations: 4 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4446, allocations: 3.984 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.4447, allocations: 19.98 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4447, allocations: 4 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4447, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.4466, allocations: 478.7 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.4469, allocations: 200.4 kB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.447, allocations: 19.92 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.4475, allocations: 35.91 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.4475, allocations: 7.984 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.4476, allocations: 59.98 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003158/0.4479, allocations: 291.1 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4479, allocations: 0 / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005132/0.4485, allocations: 67.98 kB / 1.064 GB, free: 12.4 MB / 0.8262 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.002312/0.4508, allocations: 1.015 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.4522, allocations: 446.4 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4522, allocations: 0 / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007812/0.453, allocations: 120.3 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.4534, allocations: 31.11 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.4587, allocations: 2.896 MB / 1.068 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.4593, allocations: 0.7708 MB / 1.069 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.909e-05/0.4594, allocations: 17.08 kB / 1.069 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.4595, allocations: 23.42 kB / 1.069 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.4595, allocations: 0 / 1.069 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3826/0.8422, allocations: 6.209 MB / 1.075 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/0.8426, allocations: 212.6 kB / 1.075 GB, free: 480 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.449/4.292, allocations: 0 / 1.075 GB, free: 480 kB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)