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 2.183/2.183, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001784/0.001783, allocations: 184 kB / 325.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.599/2.599, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001086/0.001086, allocations: 110.5 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 8.812 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.241, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3066/0.5476, allocations: 133.4 MB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.548, allocations: 71.95 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0237/0.5717, allocations: 4.463 MB / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.611e-06/0.5717, allocations: 0 / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.5718, allocations: 3.938 kB / 1.034 GB, free: 7.848 MB / 0.6823 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.001369/0.5731, allocations: 0.6259 MB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5732, allocations: 8.031 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.722e-05/0.5733, allocations: 46.56 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.5734, allocations: 35.61 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.5739, allocations: 250.5 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.574, allocations: 12 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5741, allocations: 20 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.5746, allocations: 139.5 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5746, allocations: 0 / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.5746, allocations: 4 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5747, allocations: 4 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.5749, allocations: 43.97 kB / 1.035 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.5755, allocations: 345.2 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.5759, allocations: 130.7 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.576, allocations: 0 / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006382/0.5766, allocations: 225.3 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.955e-06/0.5766, allocations: 0 / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.00115/0.5778, allocations: 265.1 kB / 1.036 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.5779, allocations: 55.41 kB / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.5784, allocations: 258.1 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5785, allocations: 33.7 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5786, allocations: 105.1 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.5787, allocations: 43.44 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.5788, allocations: 8 kB / 1.036 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5789, allocations: 326.8 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.5794, allocations: 104.2 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.58, allocations: 158.3 kB / 1.037 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.5804, allocations: 148.1 kB / 1.037 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.5805, allocations: 4 kB / 1.037 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001572/0.5821, allocations: 416.5 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.5822, allocations: 85.44 kB / 1.037 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5822, allocations: 4 kB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.5823, allocations: 4 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.5825, allocations: 23.92 kB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.5826, allocations: 4 kB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.5832, allocations: 43.88 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.5834, allocations: 59.98 kB / 1.037 GB, free: 3.578 MB / 0.6823 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 () * Number of clocked 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.0003816/0.5838, allocations: 179.8 kB / 1.038 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.5839, allocations: 23.72 kB / 1.038 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.584, allocations: 26.25 kB / 1.038 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.584, allocations: 4 kB / 1.038 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.584, allocations: 0 / 1.038 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.584, allocations: 0 / 1.038 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.5854, allocations: 0.5606 MB / 1.038 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5855, allocations: 3.984 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5856, allocations: 12 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.5856, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.5857, allocations: 15.92 kB / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.5857, allocations: 3.984 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5857, allocations: 0 / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.5865, allocations: 324.9 kB / 1.038 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.5869, allocations: 156.7 kB / 1.039 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.587, allocations: 12 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.5873, allocations: 8 kB / 1.039 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.5874, allocations: 19.97 kB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/0.5875, allocations: 27.98 kB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003361/0.5878, allocations: 205.9 kB / 1.039 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5878, allocations: 0 / 1.039 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005816/0.5884, allocations: 59.92 kB / 1.039 GB, free: 1.859 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001309/0.5897, allocations: 0.8765 MB / 1.04 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.5909, allocations: 347.8 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5909, allocations: 3.938 kB / 1.04 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.5912, allocations: 77.52 kB / 1.04 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.5916, allocations: 24.88 kB / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.5936, allocations: 1.603 MB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.5941, allocations: 0.7486 MB / 1.043 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.5944, allocations: 41.06 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.5946, allocations: 43.41 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.604e-06/0.5946, allocations: 4 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.6286, allocations: 5.35 MB / 1.048 GB, free: 8.738 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003789/0.629, allocations: 190 kB / 1.048 GB, free: 8.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.151, allocations: 0 / 1.048 GB, free: 8.5 MB / 0.698 GB