Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.2/2.2, allocations: 248.5 MB / 261 MB, free: 5.969 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.001564/0.001564, allocations: 182.6 kB / 320.4 MB, free: 15.34 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.93/1.93, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001132/0.001132, allocations: 102.4 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.576e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.071, allocations: 133.3 MB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.071, allocations: 69.83 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02243/1.094, allocations: 4.455 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/1.094, allocations: 4 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.094, allocations: 4 kB / 1.025 GB, free: 14.04 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.00122/1.095, allocations: 0.598 MB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.095, allocations: 8.031 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/1.095, allocations: 38.44 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/1.095, allocations: 27.72 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/1.096, allocations: 252.8 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/1.096, allocations: 19.36 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/1.096, allocations: 19.88 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/1.096, allocations: 138.4 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.096, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/1.096, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.096, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/1.097, allocations: 45.48 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/1.097, allocations: 331 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/1.098, allocations: 130.5 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/1.098, allocations: 60.34 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/1.098, allocations: 7.938 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/1.098, allocations: 214.2 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.966e-06/1.098, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.000755/1.099, allocations: 225.6 kB / 1.027 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.099, allocations: 63.27 kB / 1.027 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/1.1, allocations: 251 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/1.1, allocations: 41.06 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/1.1, allocations: 92.08 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/1.1, allocations: 37.27 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/1.1, allocations: 7.812 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.1, allocations: 330.5 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/1.1, allocations: 98.58 kB / 1.028 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.101, allocations: 148.6 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/1.101, allocations: 147.5 kB / 1.029 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.101, allocations: 11.92 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001112/1.102, allocations: 402.4 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.103, allocations: 71.33 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.103, allocations: 11.92 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.103, allocations: 4.188 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/1.103, allocations: 31.61 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.103, allocations: 4 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/1.104, allocations: 43.5 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.104, allocations: 51.98 kB / 1.029 GB, free: 10.3 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.0001996/1.104, allocations: 141.4 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/1.104, allocations: 27.62 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/1.104, allocations: 28.78 kB / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.104, allocations: 4 kB / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.104, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.104, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.105, allocations: 0.5477 MB / 1.03 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.105, allocations: 0 / 1.03 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/1.105, allocations: 15.42 kB / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.105, allocations: 7.938 kB / 1.03 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/1.106, allocations: 11.98 kB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.106, allocations: 0 / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.106, allocations: 0 / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/1.106, allocations: 327.9 kB / 1.03 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/1.106, allocations: 149.9 kB / 1.03 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/1.107, allocations: 13.73 kB / 1.03 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/1.107, allocations: 8 kB / 1.03 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/1.107, allocations: 18.47 kB / 1.03 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/1.107, allocations: 34.92 kB / 1.03 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002878/1.107, allocations: 206 kB / 1.031 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.107, allocations: 3.938 kB / 1.031 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00053/1.108, allocations: 59.06 kB / 1.031 GB, free: 8.805 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.001033/1.109, allocations: 0.8762 MB / 1.032 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008794/1.11, allocations: 348.1 kB / 1.032 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.11, allocations: 0 / 1.032 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.11, allocations: 70.23 kB / 1.032 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/1.11, allocations: 14.88 kB / 1.032 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/1.112, allocations: 348.5 kB / 1.032 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/1.112, allocations: 0.743 MB / 1.033 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002443/1.112, allocations: 45.14 kB / 1.033 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.113, allocations: 45.72 kB / 1.033 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/1.113, allocations: 0 / 1.033 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/1.142, allocations: 5.377 MB / 1.038 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003332/1.142, allocations: 167.1 kB / 1.038 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.564, allocations: 0 / 1.038 GB, free: 0.9062 MB / 0.6511 GB