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.182/2.182, allocations: 248.5 MB / 261.1 MB, free: 5.977 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.00146/0.00146, allocations: 182.7 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 2.037/2.037, allocations: 205.2 MB / 0.571 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.001049/0.001049, allocations: 97.84 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.928e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2321, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8609/1.093, allocations: 133.6 MB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.093, allocations: 75.14 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0266/1.12, allocations: 5.201 MB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.448e-06/1.12, allocations: 4 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.12, allocations: 0 / 1.026 GB, free: 13.16 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.001379/1.122, allocations: 0.614 MB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.122, allocations: 12.03 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.772e-05/1.122, allocations: 40.23 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/1.122, allocations: 35.67 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/1.122, allocations: 267.2 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/1.122, allocations: 14.86 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.123, allocations: 19.12 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/1.123, allocations: 169.5 kB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.123, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/1.123, allocations: 3.5 kB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.123, allocations: 11.94 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/1.123, allocations: 57.17 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/1.125, allocations: 0.5875 MB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/1.126, allocations: 138.6 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/1.126, allocations: 65.28 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/1.126, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006375/1.127, allocations: 226.4 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.465e-06/1.127, allocations: 0 / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008675/1.128, allocations: 231.1 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.128, allocations: 62.73 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/1.128, allocations: 280.7 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.128, allocations: 40.83 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/1.128, allocations: 108.8 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/1.129, allocations: 46.44 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/1.129, allocations: 7.875 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.129, allocations: 325.7 kB / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/1.129, allocations: 126.3 kB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/1.13, allocations: 161.5 kB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/1.13, allocations: 160.8 kB / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.13, allocations: 4 kB / 1.03 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001217/1.131, allocations: 444.2 kB / 1.03 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.131, allocations: 79.2 kB / 1.031 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.131, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.131, allocations: 4 kB / 1.031 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/1.132, allocations: 23.97 kB / 1.031 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-05/1.132, allocations: 7.938 kB / 1.031 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/1.133, allocations: 55.27 kB / 1.031 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.133, allocations: 55.36 kB / 1.031 GB, free: 9.09 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.0002231/1.133, allocations: 139.7 kB / 1.031 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/1.133, allocations: 27.62 kB / 1.031 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/1.133, allocations: 25.58 kB / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.133, allocations: 4 kB / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.133, allocations: 0 / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.133, allocations: 0 / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/1.134, allocations: 0.6011 MB / 1.031 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.134, allocations: 0 / 1.031 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/1.135, allocations: 11.94 kB / 1.031 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.135, allocations: 3.984 kB / 1.031 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/1.135, allocations: 11.73 kB / 1.031 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/1.135, allocations: 11.94 kB / 1.031 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.135, allocations: 0 / 1.031 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/1.135, allocations: 316.9 kB / 1.032 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/1.136, allocations: 194.8 kB / 1.032 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/1.136, allocations: 15.73 kB / 1.032 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/1.136, allocations: 11.06 kB / 1.032 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/1.136, allocations: 22.73 kB / 1.032 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/1.136, allocations: 27.98 kB / 1.032 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003547/1.137, allocations: 226.5 kB / 1.032 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.137, allocations: 0 / 1.032 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006083/1.137, allocations: 51.94 kB / 1.032 GB, free: 7.551 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.00112/1.138, allocations: 0.8803 MB / 1.033 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.139, allocations: 379.1 kB / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.14, allocations: 0 / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/1.14, allocations: 78.47 kB / 1.034 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/1.14, allocations: 36.08 kB / 1.034 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.142, allocations: 366.7 kB / 1.034 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/1.142, allocations: 0.7661 MB / 1.035 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002753/1.142, allocations: 37.2 kB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.143, allocations: 57.34 kB / 1.035 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.143, allocations: 0 / 1.035 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/1.182, allocations: 5.998 MB / 1.041 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003492/1.182, allocations: 184.4 kB / 1.041 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.604, allocations: 2.344 kB / 1.041 GB, free: 15.02 MB / 0.6667 GB