Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.524/2.524, allocations: 287.5 MB / 303.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001353, allocations: 184.2 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.6305 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009434/0.000943, allocations: 98.75 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004806, allocations: 12.72 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9578/1.168, allocations: 139.9 MB / 1.116 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.169, allocations: 76.98 kB / 1.116 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02303/1.192, allocations: 5.223 MB / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/1.192, allocations: 0 / 1.121 GB, free: 31.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.09e-05/1.192, allocations: 7.75 kB / 1.121 GB, free: 31.41 MB / 0.698 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.001339/1.193, allocations: 0.6359 MB / 1.122 GB, free: 30.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.193, allocations: 11.47 kB / 1.122 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/1.193, allocations: 35.88 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/1.194, allocations: 282.2 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/1.194, allocations: 18.11 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/1.194, allocations: 23.38 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/1.195, allocations: 167.1 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.195, allocations: 4.031 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/1.195, allocations: 6.703 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.195, allocations: 0 / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/1.195, allocations: 64.61 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/1.196, allocations: 0.5943 MB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/1.197, allocations: 136.4 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.197, allocations: 57.86 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/1.197, allocations: 3.875 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/1.198, allocations: 228.9 kB / 1.123 GB, free: 30.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.465e-06/1.198, allocations: 0 / 1.123 GB, free: 30.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008818/1.199, allocations: 282.8 kB / 1.124 GB, free: 30.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.199, allocations: 66.19 kB / 1.124 GB, free: 30.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/1.199, allocations: 316.1 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.665e-05/1.199, allocations: 36.95 kB / 1.124 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.199, allocations: 99.17 kB / 1.124 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/1.199, allocations: 45.19 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/1.199, allocations: 12.98 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.2, allocations: 325 kB / 1.124 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/1.2, allocations: 123.1 kB / 1.125 GB, free: 29.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/1.201, allocations: 175.2 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/1.201, allocations: 263.8 kB / 1.125 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/1.201, allocations: 3.938 kB / 1.125 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001241/1.202, allocations: 455.1 kB / 1.125 GB, free: 29.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/1.202, allocations: 75.12 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/1.202, allocations: 3.906 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.203, allocations: 11.28 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/1.203, allocations: 22.62 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.203, allocations: 3.969 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/1.203, allocations: 54.75 kB / 1.126 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.204, allocations: 52.53 kB / 1.126 GB, free: 29.08 MB / 0.698 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 () * Number of clocked 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.0003479/1.204, allocations: 187.1 kB / 1.126 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/1.204, allocations: 37.47 kB / 1.126 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.415e-05/1.204, allocations: 31.44 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.204, allocations: 3.875 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.204, allocations: 0 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.204, allocations: 3.516 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/1.205, allocations: 0.5943 MB / 1.126 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/1.205, allocations: 0 / 1.126 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/1.205, allocations: 14.67 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.205, allocations: 0 / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/1.205, allocations: 13.44 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.205, allocations: 0 / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.205, allocations: 0 / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/1.206, allocations: 338.4 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/1.206, allocations: 188.5 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/1.206, allocations: 7.531 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.207, allocations: 18.08 kB / 1.127 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/1.207, allocations: 23.55 kB / 1.127 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/1.207, allocations: 28.52 kB / 1.127 GB, free: 28.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002987/1.207, allocations: 223.3 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.207, allocations: 0 / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000587/1.208, allocations: 63.92 kB / 1.127 GB, free: 28.24 MB / 0.698 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) * Number of clocked states: 0 () * 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.0002427/1.208, allocations: 125.6 kB / 1.127 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.209, allocations: 377 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.209, allocations: 0 / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.209, allocations: 75.38 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/1.21, allocations: 30.89 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/1.211, allocations: 497.2 kB / 1.128 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/1.211, allocations: 0.7561 MB / 1.129 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002594/1.212, allocations: 42.19 kB / 1.129 GB, free: 27.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/1.212, allocations: 37.41 kB / 1.129 GB, free: 26.99 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.212, allocations: 0 / 1.129 GB, free: 26.99 MB / 0.698 GB Notification: Performance of Templates: time 0.0128/1.225, allocations: 4.763 MB / 1.134 GB, free: 25.82 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)