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.204/2.204, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001443/0.001443, allocations: 174.6 kB / 315.4 MB, free: 4.012 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.07/2.07, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001169/0.001169, allocations: 95.58 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.985e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9002/1.107, allocations: 133.6 MB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/1.107, allocations: 74.89 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0358/1.143, allocations: 4.428 MB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.24e-05/1.143, allocations: 3.984 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.193e-05/1.143, allocations: 7.984 kB / 1.019 GB, free: 1.332 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001986/1.145, allocations: 0.5788 MB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/1.145, allocations: 16.03 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/1.145, allocations: 35.66 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/1.146, allocations: 256.5 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/1.146, allocations: 4 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.146, allocations: 15.38 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002538/1.147, allocations: 38.48 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/1.147, allocations: 140.7 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.147, allocations: 0 / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/1.147, allocations: 0 / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/1.147, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/1.148, allocations: 307.1 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/1.149, allocations: 121 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/1.149, allocations: 49.53 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/1.149, allocations: 7.922 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/1.15, allocations: 208.5 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.027e-06/1.15, allocations: 0 / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0009804/1.151, allocations: 210.6 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/1.151, allocations: 59.39 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/1.151, allocations: 251.8 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.152, allocations: 29.7 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/1.152, allocations: 92.88 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.152, allocations: 41.33 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/1.152, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.152, allocations: 322.2 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/1.153, allocations: 87.02 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/1.153, allocations: 137.8 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/1.154, allocations: 76.02 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/1.154, allocations: 3.953 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001439/1.155, allocations: 313.6 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.155, allocations: 77.52 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.155, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.155, allocations: 7.938 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/1.156, allocations: 27.41 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.156, allocations: 7.938 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.157, allocations: 44.06 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.157, allocations: 55.67 kB / 1.022 GB, free: 13.93 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.0002753/1.157, allocations: 119.2 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007747/1.158, allocations: 213.5 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/1.158, allocations: 27.62 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/1.158, allocations: 29.27 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.158, allocations: 4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.158, allocations: 4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.158, allocations: 7.922 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.16, allocations: 0.5172 MB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.16, allocations: 0 / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.16, allocations: 8 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/1.16, allocations: 3.938 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/1.16, allocations: 15.97 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.16, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.16, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/1.161, allocations: 316 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/1.162, allocations: 154.4 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.162, allocations: 11.38 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/1.162, allocations: 7.984 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.162, allocations: 19.23 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/1.162, allocations: 31.97 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003923/1.163, allocations: 193.5 kB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.92e-07/1.163, allocations: 4 kB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008182/1.164, allocations: 46.38 kB / 1.024 GB, free: 12.32 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.00142/1.165, allocations: 0.8537 MB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001112/1.166, allocations: 335.4 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.166, allocations: 4.125 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/1.167, allocations: 65.98 kB / 1.025 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/1.167, allocations: 20 kB / 1.025 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.169, allocations: 325 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/1.169, allocations: 0.7533 MB / 1.026 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003755/1.17, allocations: 33.2 kB / 1.026 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/1.17, allocations: 48.36 kB / 1.026 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/1.17, allocations: 0 / 1.026 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/1.216, allocations: 4.937 MB / 1.031 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.216, allocations: 159.2 kB / 1.031 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.501, allocations: 0 / 1.031 GB, free: 4.828 MB / 0.6511 GB