Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_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.199/2.199, allocations: 248.5 MB / 261.1 MB, free: 6.004 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.00156/0.001559, allocations: 178.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.947/1.947, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001166/0.001166, allocations: 93.75 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.264e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8868/1.086, allocations: 133.3 MB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.086, allocations: 72.33 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02287/1.109, allocations: 4.457 MB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/1.109, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.083e-05/1.109, allocations: 8 kB / 1.025 GB, free: 14.09 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.001197/1.111, allocations: 0.5852 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.111, allocations: 16.03 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/1.111, allocations: 38.05 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/1.111, allocations: 31.72 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/1.111, allocations: 259.2 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/1.112, allocations: 11.38 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/1.112, allocations: 15.98 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/1.112, allocations: 138 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.112, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/1.112, allocations: 7.984 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.112, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/1.112, allocations: 53.92 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/1.113, allocations: 328.8 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/1.113, allocations: 119 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/1.113, allocations: 56.66 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/1.114, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005873/1.114, allocations: 216.7 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.505e-06/1.114, allocations: 4 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007645/1.115, allocations: 220.1 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/1.115, allocations: 71.12 kB / 1.027 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/1.115, allocations: 253.7 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.116, allocations: 41.39 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/1.116, allocations: 88.64 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/1.116, allocations: 45.56 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/1.116, allocations: 7.875 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.116, allocations: 325.8 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/1.116, allocations: 95.41 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/1.117, allocations: 147.6 kB / 1.028 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/1.117, allocations: 150.8 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.117, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001143/1.118, allocations: 413.3 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/1.118, allocations: 75.14 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.118, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.118, allocations: 4 kB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/1.119, allocations: 31.84 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.119, allocations: 4 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/1.119, allocations: 51.88 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.12, allocations: 51.92 kB / 1.029 GB, free: 10.36 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.0002064/1.12, allocations: 141.7 kB / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/1.12, allocations: 31.61 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/1.12, allocations: 31.41 kB / 1.029 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.12, allocations: 4 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.12, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.12, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/1.121, allocations: 0.5509 MB / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.121, allocations: 0 / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/1.121, allocations: 11.12 kB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.121, allocations: 0 / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.121, allocations: 11.97 kB / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/1.121, allocations: 7.938 kB / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.121, allocations: 4 kB / 1.03 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/1.122, allocations: 325.6 kB / 1.03 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/1.122, allocations: 149 kB / 1.03 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/1.123, allocations: 7.25 kB / 1.03 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.123, allocations: 15.17 kB / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/1.123, allocations: 22.47 kB / 1.03 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/1.123, allocations: 27.98 kB / 1.03 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002947/1.123, allocations: 208.7 kB / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.123, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005531/1.124, allocations: 56.3 kB / 1.031 GB, free: 8.863 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.001049/1.125, allocations: 0.8697 MB / 1.031 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00091/1.126, allocations: 347.4 kB / 1.032 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.126, allocations: 4 kB / 1.032 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/1.126, allocations: 69.91 kB / 1.032 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/1.127, allocations: 16.58 kB / 1.032 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.128, allocations: 342.7 kB / 1.032 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/1.128, allocations: 0.7511 MB / 1.033 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002415/1.128, allocations: 37.2 kB / 1.033 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.129, allocations: 38.3 kB / 1.033 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.129, allocations: 0 / 1.033 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/1.158, allocations: 5.394 MB / 1.038 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/1.159, allocations: 167.8 kB / 1.038 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.683, allocations: 3.938 kB / 1.038 GB, free: 0.9414 MB / 0.6511 GB