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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.774/1.774, allocations: 287.4 MB / 303.2 MB, free: 8.191 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.0009967/0.0009967, allocations: 179.2 kB / 371.8 MB, free: 10.8 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.631/1.631, allocations: 205.4 MB / 0.6305 GB, free: 10.51 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.000757/0.0007574, allocations: 95.48 kB / 0.7438 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007703/0.0007708, allocations: 16.47 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2841, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001969/0.2861, allocations: 1.358 MB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.2871, allocations: 465 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.2872, allocations: 0 / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2873, allocations: 3.938 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2874, allocations: 24.72 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.2881, allocations: 218.8 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.2884, allocations: 307.5 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2886, allocations: 29.42 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.2889, allocations: 231.5 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.2892, allocations: 131.7 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.2892, allocations: 8 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.794e-05/0.2893, allocations: 12 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.2894, allocations: 83.77 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.2895, allocations: 77.58 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.2897, allocations: 315.5 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2897, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2897, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2898, allocations: 0 / 0.9825 GB, free: 24.9 MB / 0.6198 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.0009989/0.2908, allocations: 0.6337 MB / 0.9831 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2908, allocations: 12.03 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.2909, allocations: 44.56 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.2912, allocations: 284.1 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.2913, allocations: 20.55 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.2914, allocations: 16.38 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2917, allocations: 175.9 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2917, allocations: 3.938 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.2917, allocations: 0 / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2917, allocations: 4 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.2919, allocations: 63.91 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009954/0.2929, allocations: 0.555 MB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.2932, allocations: 138.6 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2933, allocations: 64.83 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2933, allocations: 4.234 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.2937, allocations: 236 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.2937, allocations: 0 / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005344/0.2943, allocations: 279.4 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2943, allocations: 63.31 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2946, allocations: 312.5 kB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.2947, allocations: 37.69 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.2947, allocations: 101 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.2948, allocations: 51.44 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.2948, allocations: 8 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.2949, allocations: 334.8 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.2951, allocations: 96.19 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.2954, allocations: 166.3 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2957, allocations: 255.2 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2957, allocations: 0 / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006273/0.2963, allocations: 444.5 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.2964, allocations: 75.39 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2964, allocations: 7.938 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2964, allocations: 0 / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2966, allocations: 31.97 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2966, allocations: 3.938 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.2971, allocations: 75.95 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.2972, allocations: 47.98 kB / 0.9869 GB, free: 20.01 MB / 0.6198 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.000207/0.2974, allocations: 193.7 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.2974, allocations: 23.72 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.2975, allocations: 34.36 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2975, allocations: 8 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2975, allocations: 0 / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.2977, allocations: 180.6 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.2977, allocations: 12 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2979, allocations: 15.98 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.298, allocations: 19.91 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004039/0.2984, allocations: 300.8 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003642/0.2988, allocations: 396.2 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001254/0.2989, allocations: 67.95 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001925/0.2991, allocations: 227 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of Backend: time 7.42e-07/0.2991, allocations: 0 / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.2999, allocations: 397.8 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009789/0.3009, allocations: 0.9362 MB / 0.9896 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.007276/0.3082, allocations: 4.551 MB / 0.9941 GB, free: 12.59 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)