Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.022/3.022, allocations: 248.5 MB / 261.1 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002223/0.002222, allocations: 178.2 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.2 MB / 0.5711 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 102 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.231e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8613/1.077, allocations: 133.3 MB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.078, allocations: 74.2 kB / 1.021 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02261/1.1, allocations: 4.461 MB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.1, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.264e-05/1.1, allocations: 8 kB / 1.025 GB, free: 13.98 MB / 0.6511 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.001218/1.102, allocations: 0.5789 MB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.102, allocations: 16.03 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/1.102, allocations: 34.5 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/1.102, allocations: 35.7 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/1.102, allocations: 254.2 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/1.102, allocations: 11.94 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/1.103, allocations: 15.81 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/1.103, allocations: 137.2 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.103, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/1.103, allocations: 7.375 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.103, allocations: 3.938 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/1.103, allocations: 49.61 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/1.104, allocations: 344.8 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/1.104, allocations: 118.5 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.104, allocations: 61.53 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/1.104, allocations: 4 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006023/1.105, allocations: 216.8 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.755e-06/1.105, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007169/1.106, allocations: 215.6 kB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/1.106, allocations: 66.53 kB / 1.027 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/1.106, allocations: 251.8 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.844e-05/1.106, allocations: 44.12 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/1.106, allocations: 88.58 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/1.107, allocations: 45.31 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/1.107, allocations: 6.938 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.107, allocations: 329 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/1.107, allocations: 96.33 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/1.108, allocations: 145.3 kB / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/1.108, allocations: 154.1 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.108, allocations: 4 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001173/1.109, allocations: 408.9 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.109, allocations: 74.75 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.109, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/1.109, allocations: 4 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.11, allocations: 31.8 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.11, allocations: 4 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/1.11, allocations: 51.06 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/1.11, allocations: 55.22 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002087/1.111, allocations: 135.6 kB / 1.029 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/1.111, allocations: 27.62 kB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/1.111, allocations: 31.72 kB / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.111, allocations: 4 kB / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.111, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.111, allocations: 3.984 kB / 1.029 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/1.112, allocations: 0.5509 MB / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.112, allocations: 0 / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/1.112, allocations: 8 kB / 1.03 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.112, allocations: 0 / 1.03 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.112, allocations: 11.23 kB / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.112, allocations: 11.92 kB / 1.03 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.112, allocations: 4 kB / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/1.113, allocations: 322.6 kB / 1.03 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/1.113, allocations: 150.8 kB / 1.03 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/1.113, allocations: 11.31 kB / 1.03 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/1.114, allocations: 15.55 kB / 1.03 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/1.114, allocations: 15.97 kB / 1.03 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/1.114, allocations: 35.66 kB / 1.03 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003341/1.114, allocations: 205.8 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.12e-07/1.114, allocations: 0 / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005588/1.115, allocations: 51.88 kB / 1.031 GB, free: 8.762 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.001046/1.116, allocations: 0.8717 MB / 1.032 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008933/1.117, allocations: 352 kB / 1.032 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.117, allocations: 0 / 1.032 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/1.117, allocations: 72.78 kB / 1.032 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/1.117, allocations: 20.19 kB / 1.032 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/1.119, allocations: 347.1 kB / 1.032 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/1.119, allocations: 0.7399 MB / 1.033 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002743/1.119, allocations: 38.14 kB / 1.033 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.12, allocations: 49.78 kB / 1.033 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/1.12, allocations: 0 / 1.033 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/1.149, allocations: 5.391 MB / 1.038 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004026/1.149, allocations: 161.6 kB / 1.038 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.572, allocations: 0 / 1.038 GB, free: 0.8477 MB / 0.6511 GB