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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 107.7 kB / 16.37 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 192 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.89 kB / 0.673 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2516, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003402/0.2551, allocations: 1.673 MB / 0.7865 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2562, allocations: 491.2 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.2563, allocations: 0 / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2564, allocations: 7.875 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.2566, allocations: 32.16 kB / 0.787 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.2574, allocations: 293.4 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.2579, allocations: 411.5 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.258, allocations: 29.09 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.2584, allocations: 231.6 kB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4378/0.6963, allocations: 118.7 kB / 0.788 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.6964, allocations: 31.47 kB / 0.788 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.6965, allocations: 28.44 kB / 0.7881 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.6966, allocations: 97.69 kB / 0.7881 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6968, allocations: 152.1 kB / 0.7883 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.6972, allocations: 433.8 kB / 0.7887 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6972, allocations: 3.438 kB / 0.7887 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6972, allocations: 0 / 0.7887 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6972, allocations: 0 / 0.7887 GB, free: 46.9 MB / 0.6544 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.001113/0.6983, allocations: 0.7685 MB / 0.7895 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6984, allocations: 10.56 kB / 0.7895 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.6985, allocations: 37.28 kB / 0.7895 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.6988, allocations: 283.3 kB / 0.7898 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.6989, allocations: 13.19 kB / 0.7898 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.699, allocations: 25.17 kB / 0.7898 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.6999, allocations: 224.1 kB / 0.79 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6999, allocations: 2.625 kB / 0.79 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.6999, allocations: 5.094 kB / 0.79 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7, allocations: 2.625 kB / 0.79 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.7006, allocations: 111.9 kB / 0.7901 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.7017, allocations: 0.5579 MB / 0.7907 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.7026, allocations: 185.4 kB / 0.7909 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.7032, allocations: 109.2 kB / 0.791 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.7033, allocations: 2.625 kB / 0.791 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/0.7041, allocations: 225.8 kB / 0.7912 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.7041, allocations: 0 / 0.7912 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002189/0.7063, allocations: 457.2 kB / 0.7916 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.7064, allocations: 72.14 kB / 0.7917 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.7067, allocations: 328 kB / 0.792 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.7067, allocations: 34.14 kB / 0.792 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.7068, allocations: 102 kB / 0.7921 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.7068, allocations: 36.95 kB / 0.7922 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.707, allocations: 103.3 kB / 0.7923 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.707, allocations: 323.1 kB / 0.7926 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.7072, allocations: 96.16 kB / 0.7927 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.7074, allocations: 141.9 kB / 0.7928 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.7077, allocations: 255.7 kB / 0.793 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7077, allocations: 5.219 kB / 0.7931 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005528/0.7083, allocations: 417 kB / 0.7935 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.7083, allocations: 78.53 kB / 0.7935 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.7083, allocations: 3.781 kB / 0.7935 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7084, allocations: 8.438 kB / 0.7935 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.7085, allocations: 26.56 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.7085, allocations: 7.562 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.709, allocations: 55.48 kB / 0.7936 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.709, allocations: 38.27 kB / 0.7937 GB, free: 44.58 MB / 0.6544 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.7092, allocations: 192.8 kB / 0.7938 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.7092, allocations: 26.38 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.7093, allocations: 33.05 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7093, allocations: 3.5 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7093, allocations: 5.156 kB / 0.7939 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7093, allocations: 0 / 0.7939 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.7112, allocations: 0.7253 MB / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7112, allocations: 0 / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.7112, allocations: 10.3 kB / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.7112, allocations: 7.406 kB / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.7113, allocations: 16.73 kB / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7113, allocations: 0 / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7113, allocations: 3.5 kB / 0.7947 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.7128, allocations: 453.4 kB / 0.7951 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.7129, allocations: 190.6 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.713, allocations: 21.23 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.7134, allocations: 33.36 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.7135, allocations: 8 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.7135, allocations: 45.89 kB / 0.7954 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001767/0.7137, allocations: 234.6 kB / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7137, allocations: 0 / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003275/0.714, allocations: 51.19 kB / 0.7956 GB, free: 43.79 MB / 0.6544 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.7142, allocations: 134.1 kB / 0.7958 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.7153, allocations: 397.5 kB / 0.7961 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.7153, allocations: 1.5 kB / 0.7962 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.716, allocations: 119.2 kB / 0.7963 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.7163, allocations: 35.72 kB / 0.7963 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.7176, allocations: 0.5012 MB / 0.7968 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.7178, allocations: 0.7519 MB / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.7179, allocations: 16.38 kB / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7179, allocations: 0 / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.006424/0.7243, allocations: 3.178 MB / 0.8006 GB, free: 42.43 MB / 0.6544 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)