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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.184/2.184, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 167.5 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.39/2.39, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.0009629/0.0009628, allocations: 90.78 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 16.75 kB / 0.7958 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2051, allocations: 106.3 MB / 0.8995 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/0.4666, allocations: 133.7 MB / 1.03 GB, free: 12.05 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.467, allocations: 75.95 kB / 1.03 GB, free: 11.97 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.02576/0.4928, allocations: 5.237 MB / 1.035 GB, free: 6.73 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4928, allocations: 0 / 1.035 GB, free: 6.73 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.4928, allocations: 4 kB / 1.035 GB, free: 6.727 MB / 0.6824 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.001473/0.4943, allocations: 0.6537 MB / 1.036 GB, free: 5.996 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4944, allocations: 12.03 kB / 1.036 GB, free: 5.984 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.4946, allocations: 36.56 kB / 1.036 GB, free: 5.949 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.4951, allocations: 268.5 kB / 1.036 GB, free: 5.648 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.4951, allocations: 16.36 kB / 1.036 GB, free: 5.633 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.4952, allocations: 16.38 kB / 1.036 GB, free: 5.617 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.4958, allocations: 172.1 kB / 1.036 GB, free: 5.445 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4958, allocations: 192 / 1.036 GB, free: 5.445 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.4959, allocations: 7.922 kB / 1.036 GB, free: 5.438 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4959, allocations: 7.938 kB / 1.036 GB, free: 5.43 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.4962, allocations: 59.97 kB / 1.037 GB, free: 5.371 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.4981, allocations: 0.59 MB / 1.037 GB, free: 4.73 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.4986, allocations: 142.6 kB / 1.037 GB, free: 4.582 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.4988, allocations: 60.83 kB / 1.037 GB, free: 4.52 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4989, allocations: 4 kB / 1.037 GB, free: 4.516 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/0.4996, allocations: 224.2 kB / 1.038 GB, free: 4.285 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=18): time 2.906e-06/0.4996, allocations: 0 / 1.038 GB, free: 4.285 MB / 0.6824 GB Notification: Performance of matching and sorting (n=18): time 0.001043/0.5006, allocations: 286.6 kB / 1.038 GB, free: 4 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.5007, allocations: 63.39 kB / 1.038 GB, free: 3.926 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.5012, allocations: 312.4 kB / 1.038 GB, free: 3.609 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.5014, allocations: 45.69 kB / 1.038 GB, free: 3.559 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.5015, allocations: 93.14 kB / 1.038 GB, free: 3.465 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.5016, allocations: 39.45 kB / 1.038 GB, free: 3.426 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.5017, allocations: 15.98 kB / 1.038 GB, free: 3.41 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5018, allocations: 330.7 kB / 1.039 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.5024, allocations: 120.2 kB / 1.039 GB, free: 2.957 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.5029, allocations: 178.4 kB / 1.039 GB, free: 2.762 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.5034, allocations: 167.3 kB / 1.039 GB, free: 2.586 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5035, allocations: 0 / 1.039 GB, free: 2.586 MB / 0.6824 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001426/0.5049, allocations: 459.2 kB / 1.04 GB, free: 2.121 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.505, allocations: 75.39 kB / 1.04 GB, free: 2.035 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.505, allocations: 4 kB / 1.04 GB, free: 2.031 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5051, allocations: 8.188 kB / 1.04 GB, free: 2.023 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.5053, allocations: 27.91 kB / 1.04 GB, free: 1.996 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.5054, allocations: 7.984 kB / 1.04 GB, free: 1.988 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.5061, allocations: 43.88 kB / 1.04 GB, free: 1.945 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.5062, allocations: 55.98 kB / 1.04 GB, free: 1.891 MB / 0.6824 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.0003765/0.5066, allocations: 189.7 kB / 1.04 GB, free: 1.695 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.5067, allocations: 31.62 kB / 1.04 GB, free: 1.664 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.5068, allocations: 30.36 kB / 1.04 GB, free: 1.633 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5068, allocations: 4 kB / 1.04 GB, free: 1.629 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5069, allocations: 0 / 1.04 GB, free: 1.629 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5069, allocations: 3.938 kB / 1.04 GB, free: 1.625 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5081, allocations: 0.5939 MB / 1.041 GB, free: 0.9766 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.5082, allocations: 0 / 1.041 GB, free: 0.9766 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-05/0.5083, allocations: 16 kB / 1.041 GB, free: 0.9609 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5083, allocations: 0 / 1.041 GB, free: 0.9609 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.5083, allocations: 11.98 kB / 1.041 GB, free: 0.9492 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5084, allocations: 3.984 kB / 1.041 GB, free: 0.9453 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5084, allocations: 0 / 1.041 GB, free: 0.9453 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.5091, allocations: 334.8 kB / 1.041 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5094, allocations: 176.7 kB / 1.041 GB, free: 420 kB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5096, allocations: 19.98 kB / 1.041 GB, free: 400 kB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.5099, allocations: 8 kB / 1.041 GB, free: 392 kB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.51, allocations: 27.89 kB / 1.041 GB, free: 364 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.5101, allocations: 27.98 kB / 1.041 GB, free: 336 kB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0003513/0.5104, allocations: 227 kB / 1.041 GB, free: 108 kB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5104, allocations: 0 / 1.041 GB, free: 108 kB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0005662/0.511, allocations: 63.86 kB / 1.041 GB, free: 44 kB / 0.6824 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.0002755/0.5113, allocations: 129.1 kB / 1.042 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.5124, allocations: 384.2 kB / 1.042 GB, free: 15.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5125, allocations: 0 / 1.042 GB, free: 15.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.5127, allocations: 71.91 kB / 1.042 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.5133, allocations: 36.62 kB / 1.042 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5145, allocations: 489.9 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.515, allocations: 0.7595 MB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002547/0.5153, allocations: 37.42 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.5155, allocations: 35.42 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5155, allocations: 0 / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of Templates: time 0.01378/0.5293, allocations: 4.754 MB / 1.048 GB, free: 9.285 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)