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 1.747/1.747, allocations: 287.4 MB / 303.2 MB, free: 8.371 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.0009759/0.0009758, allocations: 188.3 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.588/1.588, allocations: 205.4 MB / 0.6305 GB, free: 10.5 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.0007718/0.0007717, allocations: 93.42 kB / 0.7438 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 12.16 kB / 0.8667 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2621, allocations: 115.3 MB / 0.9793 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002317/0.2645, allocations: 1.362 MB / 0.9806 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2659, allocations: 455.1 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2661, allocations: 0 / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2662, allocations: 7.922 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.2663, allocations: 28.72 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.267, allocations: 222.6 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.2674, allocations: 311.5 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2675, allocations: 21.45 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.2678, allocations: 231.5 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.268, allocations: 135.7 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.2681, allocations: 12 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.2681, allocations: 8 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2682, allocations: 83.78 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.2683, allocations: 77.58 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.2686, allocations: 319.5 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2686, allocations: 0 / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2686, allocations: 0 / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2686, allocations: 0 / 0.9825 GB, free: 24.89 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.001011/0.2696, allocations: 0.6298 MB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2697, allocations: 12.03 kB / 0.9831 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.2698, allocations: 40.55 kB / 0.9831 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.2701, allocations: 288.1 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.2701, allocations: 12.56 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.2702, allocations: 20.38 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.2705, allocations: 170 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2705, allocations: 7.922 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2705, allocations: 4 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2705, allocations: 4 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.2707, allocations: 67.89 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009976/0.2717, allocations: 0.5434 MB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.2719, allocations: 142.6 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2721, allocations: 64.83 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2721, allocations: 4.25 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.2725, allocations: 234.7 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.2725, allocations: 0 / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005233/0.2731, allocations: 277.2 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2731, allocations: 63.3 kB / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.2734, allocations: 316.5 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.2735, allocations: 41.7 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.2735, allocations: 101 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.2736, allocations: 47.45 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.2736, allocations: 8 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.2737, allocations: 326.8 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2739, allocations: 108.2 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.2742, allocations: 166.3 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.2745, allocations: 250.8 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2745, allocations: 4 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006192/0.2751, allocations: 444.5 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.2752, allocations: 79.38 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2752, allocations: 3.938 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2752, allocations: 4 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2754, allocations: 19.98 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2754, allocations: 7.938 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.2759, allocations: 75.98 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.276, allocations: 59.97 kB / 0.9869 GB, free: 19.99 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.0002115/0.2762, allocations: 189.7 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.2762, allocations: 23.72 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.2763, allocations: 34.36 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2763, allocations: 3.984 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2763, allocations: 0 / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.2765, allocations: 180.6 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.2766, allocations: 16 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2768, allocations: 11.98 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.2768, allocations: 23.91 kB / 0.9874 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004202/0.2773, allocations: 295 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000367/0.2777, allocations: 398.3 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001293/0.2778, allocations: 65.22 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001668/0.278, allocations: 223 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of Backend: time 6.11e-07/0.278, allocations: 0 / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000737/0.2787, allocations: 410.7 kB / 0.9887 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008946/0.2796, allocations: 0.9323 MB / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.007568/0.2872, allocations: 4.548 MB / 0.9941 GB, free: 12.61 MB / 0.6198 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)