Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001471/0.001471, allocations: 178.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.2 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008121/0.0008123, allocations: 86.75 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.64e-05, allocations: 8 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.784/1.012, allocations: 141.8 MB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.012, allocations: 68.08 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01516/1.027, allocations: 5.3 MB / 1.124 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/1.028, allocations: 4 kB / 1.124 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.028, allocations: 4 kB / 1.124 GB, free: 39.54 MB / 0.7448 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.0009503/1.028, allocations: 0.6504 MB / 1.124 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.029, allocations: 8.031 kB / 1.124 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/1.029, allocations: 40.67 kB / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/1.029, allocations: 268.2 kB / 1.124 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/1.029, allocations: 16.41 kB / 1.124 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/1.029, allocations: 22.59 kB / 1.125 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/1.03, allocations: 183.8 kB / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.03, allocations: 0 / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/1.03, allocations: 0 / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.03, allocations: 7.953 kB / 1.125 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/1.03, allocations: 60.86 kB / 1.125 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.031, allocations: 0.6023 MB / 1.125 GB, free: 38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/1.031, allocations: 112.9 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.031, allocations: 63.08 kB / 1.126 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/1.031, allocations: 4 kB / 1.126 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/1.032, allocations: 165.2 kB / 1.126 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/1.032, allocations: 4 kB / 1.126 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005507/1.032, allocations: 261.2 kB / 1.126 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/1.032, allocations: 66.75 kB / 1.126 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/1.033, allocations: 284.5 kB / 1.126 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/1.033, allocations: 41.08 kB / 1.126 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/1.033, allocations: 99.98 kB / 1.126 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/1.033, allocations: 35.14 kB / 1.126 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/1.033, allocations: 11.75 kB / 1.126 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/1.033, allocations: 325.4 kB / 1.127 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.033, allocations: 103.1 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/1.033, allocations: 157.3 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/1.034, allocations: 165.6 kB / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.034, allocations: 0 / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006667/1.034, allocations: 419.8 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/1.034, allocations: 79.86 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.034, allocations: 5.312 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.034, allocations: 4 kB / 1.128 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/1.035, allocations: 27.34 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.035, allocations: 4.938 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/1.035, allocations: 42.02 kB / 1.128 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/1.035, allocations: 42.77 kB / 1.128 GB, free: 36.04 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001255/1.035, allocations: 137.8 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/1.035, allocations: 27.67 kB / 1.128 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/1.035, allocations: 27.81 kB / 1.128 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.035, allocations: 0 / 1.128 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.035, allocations: 0 / 1.128 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.035, allocations: 7.469 kB / 1.128 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/1.036, allocations: 0.6441 MB / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.036, allocations: 0 / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/1.036, allocations: 11.28 kB / 1.129 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.036, allocations: 0 / 1.129 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.036, allocations: 15.59 kB / 1.129 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.036, allocations: 3.938 kB / 1.129 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.036, allocations: 4.656 kB / 1.129 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/1.037, allocations: 355.9 kB / 1.129 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/1.037, allocations: 192.2 kB / 1.129 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/1.037, allocations: 18.38 kB / 1.129 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/1.037, allocations: 34.75 kB / 1.129 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/1.037, allocations: 10.62 kB / 1.129 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/1.037, allocations: 38.98 kB / 1.129 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001908/1.038, allocations: 228.6 kB / 1.129 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.038, allocations: 0 / 1.129 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003489/1.038, allocations: 54.25 kB / 1.13 GB, free: 34.63 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002038/1.038, allocations: 137.2 kB / 1.13 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005294/1.039, allocations: 361.4 kB / 1.13 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.039, allocations: 0 / 1.13 GB, free: 34.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/1.039, allocations: 73.95 kB / 1.13 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/1.039, allocations: 39.12 kB / 1.13 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/1.04, allocations: 313 kB / 1.13 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/1.04, allocations: 0.7607 MB / 1.131 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.062e-05/1.04, allocations: 16.64 kB / 1.131 GB, free: 33.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/1.04, allocations: 14.25 kB / 1.131 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/1.04, allocations: 0 / 1.131 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.007698/1.048, allocations: 4.347 MB / 1.135 GB, free: 30.63 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)