Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.36/2.36, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001463/0.001463, allocations: 178.4 kB / 315.4 MB, free: 4.039 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.25/2.25, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 82.55 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.523e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8789/1.08, allocations: 133.9 MB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.081, allocations: 71.08 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02569/1.107, allocations: 5.179 MB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/1.107, allocations: 0 / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.907e-05/1.107, allocations: 8 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001447/1.108, allocations: 0.604 MB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.108, allocations: 8.031 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/1.108, allocations: 39.23 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/1.109, allocations: 279.2 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/1.109, allocations: 4 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.109, allocations: 16 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002429/1.109, allocations: 58.34 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/1.11, allocations: 158.9 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.11, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/1.11, allocations: 7.25 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.11, allocations: 7.938 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/1.112, allocations: 0.5518 MB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/1.112, allocations: 123.2 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.112, allocations: 59.78 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.112, allocations: 0 / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/1.113, allocations: 221 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.896e-06/1.113, allocations: 0 / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007732/1.114, allocations: 219 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.114, allocations: 66.7 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/1.114, allocations: 266.5 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.115, allocations: 36.56 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.115, allocations: 99.3 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/1.115, allocations: 47.27 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/1.115, allocations: 5.016 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.115, allocations: 322.4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/1.115, allocations: 108.1 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/1.116, allocations: 156.5 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/1.116, allocations: 90.89 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.116, allocations: 0 / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001011/1.117, allocations: 339.8 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.117, allocations: 75.2 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.117, allocations: 4 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.117, allocations: 4 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/1.118, allocations: 23.92 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/1.118, allocations: 7.922 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/1.118, allocations: 55.83 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.118, allocations: 51.97 kB / 1.024 GB, free: 12.83 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002239/1.119, allocations: 128 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005613/1.119, allocations: 225.2 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/1.119, allocations: 23.72 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/1.119, allocations: 29.64 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.119, allocations: 4 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.119, allocations: 0 / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.119, allocations: 0 / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.121, allocations: 0.5696 MB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.121, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/1.121, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.121, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/1.121, allocations: 11.98 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.121, allocations: 3.984 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.121, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/1.121, allocations: 313.2 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/1.122, allocations: 187.1 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/1.122, allocations: 15.56 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/1.122, allocations: 7.984 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/1.122, allocations: 19.91 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/1.122, allocations: 27.98 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002885/1.123, allocations: 218.4 kB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.123, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006195/1.123, allocations: 56.23 kB / 1.026 GB, free: 11.16 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.001073/1.124, allocations: 0.87 MB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008898/1.125, allocations: 356.3 kB / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.125, allocations: 0 / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/1.125, allocations: 70.23 kB / 1.027 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/1.126, allocations: 27.94 kB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/1.127, allocations: 357.4 kB / 1.027 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/1.128, allocations: 0.7625 MB / 1.028 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002758/1.128, allocations: 37.2 kB / 1.028 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/1.128, allocations: 49.72 kB / 1.028 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of SimCode: time 3.006e-06/1.128, allocations: 4 kB / 1.028 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05049/1.179, allocations: 5.478 MB / 1.034 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.179, allocations: 178.4 kB / 1.034 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.539, allocations: 1.547 kB / 1.034 GB, free: 3.086 MB / 0.6511 GB