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.234/2.234, allocations: 248.5 MB / 261 MB, free: 5.953 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.001511/0.001511, allocations: 184.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.2 MB / 0.5711 GB, free: 11.82 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.00114/0.001139, allocations: 101.8 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.141e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9051/1.117, allocations: 133.7 MB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.118, allocations: 72.95 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02543/1.143, allocations: 5.212 MB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.843e-06/1.143, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.025e-05/1.143, allocations: 4 kB / 1.026 GB, free: 13.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001277/1.144, allocations: 0.6047 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.144, allocations: 11.97 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.582e-05/1.145, allocations: 49.92 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/1.145, allocations: 35.67 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/1.145, allocations: 265.2 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/1.145, allocations: 23.22 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/1.146, allocations: 16 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/1.146, allocations: 168.7 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.146, allocations: 0 / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/1.146, allocations: 4 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.146, allocations: 3.938 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/1.146, allocations: 60.36 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/1.148, allocations: 0.5866 MB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/1.149, allocations: 138.9 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/1.149, allocations: 58.91 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/1.149, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006749/1.15, allocations: 232.6 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.725e-06/1.15, allocations: 0 / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.000802/1.15, allocations: 227.3 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.15, allocations: 62.67 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/1.151, allocations: 285.7 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.151, allocations: 40.27 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.151, allocations: 108.1 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/1.151, allocations: 49.08 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/1.151, allocations: 11.94 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.151, allocations: 318.6 kB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/1.152, allocations: 123.2 kB / 1.03 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/1.152, allocations: 162 kB / 1.03 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/1.153, allocations: 164.8 kB / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.153, allocations: 0 / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00123/1.154, allocations: 440.9 kB / 1.03 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.154, allocations: 73.64 kB / 1.031 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.154, allocations: 4.188 kB / 1.031 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.154, allocations: 4 kB / 1.031 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/1.154, allocations: 35.41 kB / 1.031 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.154, allocations: 0 / 1.031 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/1.155, allocations: 54.7 kB / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.155, allocations: 55.34 kB / 1.031 GB, free: 9.027 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.0002182/1.156, allocations: 146.3 kB / 1.031 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/1.156, allocations: 27.62 kB / 1.031 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.156, allocations: 35.08 kB / 1.031 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.156, allocations: 0 / 1.031 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.156, allocations: 3.938 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.156, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/1.157, allocations: 0.598 MB / 1.031 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.157, allocations: 0 / 1.031 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.157, allocations: 12 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.157, allocations: 0 / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/1.157, allocations: 15.73 kB / 1.032 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.157, allocations: 3.953 kB / 1.032 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.157, allocations: 3.984 kB / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/1.158, allocations: 315 kB / 1.032 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/1.158, allocations: 187.8 kB / 1.032 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/1.158, allocations: 17.61 kB / 1.032 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/1.159, allocations: 12 kB / 1.032 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/1.159, allocations: 27.05 kB / 1.032 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/1.159, allocations: 27.98 kB / 1.032 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003322/1.159, allocations: 229.9 kB / 1.032 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.159, allocations: 0 / 1.032 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005552/1.16, allocations: 51.5 kB / 1.032 GB, free: 7.477 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.001058/1.161, allocations: 0.8845 MB / 1.033 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009353/1.162, allocations: 375.6 kB / 1.034 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.162, allocations: 0 / 1.034 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/1.162, allocations: 70.73 kB / 1.034 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/1.162, allocations: 39.33 kB / 1.034 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.164, allocations: 368.6 kB / 1.034 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/1.164, allocations: 0.7621 MB / 1.035 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002354/1.164, allocations: 37.2 kB / 1.035 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.165, allocations: 56.97 kB / 1.035 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/1.165, allocations: 0 / 1.035 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/1.198, allocations: 6.005 MB / 1.041 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/1.198, allocations: 193 kB / 1.041 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.629, allocations: 0 / 1.041 GB, free: 14.95 MB / 0.6667 GB