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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.706/2.706, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001487/0.001487, allocations: 170.4 kB / 315.4 MB, free: 4.023 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.199/2.199, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 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.001124/0.001123, allocations: 97.69 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.929e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2205, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8593/1.08, allocations: 133.9 MB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.08, allocations: 80.14 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02475/1.105, allocations: 5.168 MB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.105, allocations: 0 / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.794e-05/1.105, allocations: 4 kB / 1.02 GB, free: 0.5391 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.001324/1.106, allocations: 0.6003 MB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.106, allocations: 12.03 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.107, allocations: 35.67 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/1.107, allocations: 274.8 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/1.107, allocations: 15.98 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.107, allocations: 19.94 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001943/1.108, allocations: 55.36 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/1.108, allocations: 156.1 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.108, allocations: 3.984 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/1.108, allocations: 3.938 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.108, allocations: 3.938 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/1.11, allocations: 0.5546 MB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/1.11, allocations: 125.4 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/1.11, allocations: 57.22 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/1.11, allocations: 8 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/1.111, allocations: 216.8 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 4.228e-06/1.111, allocations: 4 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006606/1.112, allocations: 215.7 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.112, allocations: 62.72 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/1.112, allocations: 267.5 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/1.112, allocations: 36.83 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.112, allocations: 99.41 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/1.112, allocations: 45.14 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/1.112, allocations: 4 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.113, allocations: 325.8 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/1.113, allocations: 113.1 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/1.113, allocations: 154.9 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/1.114, allocations: 86.58 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.114, allocations: 4 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001013/1.115, allocations: 343.1 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.115, allocations: 78.69 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.115, allocations: 0 / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.115, allocations: 4 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.115, allocations: 23.92 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.115, allocations: 4 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/1.116, allocations: 48 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.116, allocations: 55.48 kB / 1.024 GB, free: 12.82 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.0002141/1.116, allocations: 135.5 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000523/1.117, allocations: 216.6 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/1.117, allocations: 35.7 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/1.117, allocations: 25.2 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.117, allocations: 4 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.117, allocations: 0 / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.117, allocations: 0 / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/1.118, allocations: 0.5491 MB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.118, allocations: 0 / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/1.118, allocations: 19.86 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.118, allocations: 0 / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/1.118, allocations: 15.36 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.118, allocations: 4 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.118, allocations: 0 / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/1.119, allocations: 314.3 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/1.119, allocations: 196.5 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/1.119, allocations: 9.812 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/1.12, allocations: 11.98 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/1.12, allocations: 18.61 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/1.12, allocations: 31.97 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002922/1.12, allocations: 211.8 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.12, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005729/1.121, allocations: 52.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.001061/1.122, allocations: 0.8772 MB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008416/1.123, allocations: 355.7 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.123, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/1.123, allocations: 67.17 kB / 1.027 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/1.123, allocations: 29.19 kB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/1.124, allocations: 354 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/1.125, allocations: 0.7616 MB / 1.028 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002573/1.125, allocations: 49.17 kB / 1.028 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/1.126, allocations: 49.97 kB / 1.028 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of SimCode: time 4.339e-06/1.126, allocations: 0 / 1.028 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/1.168, allocations: 5.482 MB / 1.034 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/1.168, allocations: 165.6 kB / 1.034 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.501, allocations: 0 / 1.034 GB, free: 3.074 MB / 0.6511 GB