Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001737, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.762/1.762, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.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.925/1.925, allocations: 292.3 MB / 0.5491 GB, free: 13.61 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.00193/0.00193, allocations: 70.2 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 114.5 MB / 0.7834 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003164/0.3325, allocations: 1.725 MB / 0.785 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3337, allocations: 0.4993 MB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.3337, allocations: 0 / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3339, allocations: 15.86 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.334, allocations: 28.22 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.3347, allocations: 262.4 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.3351, allocations: 363.8 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3352, allocations: 29.09 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.3355, allocations: 238.2 kB / 0.7864 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.3358, allocations: 139.5 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.3359, allocations: 12 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.3359, allocations: 12 kB / 0.7866 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3361, allocations: 87.7 kB / 0.7867 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3363, allocations: 135.3 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.3366, allocations: 331.6 kB / 0.7871 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3366, allocations: 0 / 0.7871 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.975e-06/0.3366, allocations: 7.938 kB / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3366, allocations: 0 / 0.7871 GB, free: 10.12 MB / 0.6075 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.001209/0.3378, allocations: 0.781 MB / 0.7879 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3379, allocations: 8.031 kB / 0.7879 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.338, allocations: 31.72 kB / 0.7879 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3384, allocations: 290.7 kB / 0.7882 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.3385, allocations: 16 kB / 0.7882 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.3385, allocations: 16 kB / 0.7882 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.3396, allocations: 229.4 kB / 0.7884 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3397, allocations: 0 / 0.7884 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.3397, allocations: 11.98 kB / 0.7885 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3397, allocations: 0 / 0.7885 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.3405, allocations: 107.9 kB / 0.7886 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.3418, allocations: 0.5667 MB / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3429, allocations: 181.3 kB / 0.7893 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.3436, allocations: 112.7 kB / 0.7894 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3437, allocations: 7.938 kB / 0.7894 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009935/0.3447, allocations: 229.8 kB / 0.7896 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.3447, allocations: 0 / 0.7896 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002651/0.3473, allocations: 457.1 kB / 0.7901 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3474, allocations: 63.39 kB / 0.7901 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.3478, allocations: 324.4 kB / 0.7904 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.3479, allocations: 33.7 kB / 0.7905 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.348, allocations: 105 kB / 0.7906 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.348, allocations: 35.59 kB / 0.7906 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.3482, allocations: 105.5 kB / 0.7907 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3483, allocations: 322.8 kB / 0.791 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.3486, allocations: 95.94 kB / 0.7911 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3488, allocations: 150.5 kB / 0.7912 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.3492, allocations: 247.9 kB / 0.7915 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3492, allocations: 3.938 kB / 0.7915 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007078/0.3499, allocations: 436.6 kB / 0.7919 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/0.35, allocations: 75.39 kB / 0.792 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.35, allocations: 0 / 0.792 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.35, allocations: 4 kB / 0.792 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3502, allocations: 23.91 kB / 0.792 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3502, allocations: 4 kB / 0.792 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.3507, allocations: 56.02 kB / 0.792 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.3508, allocations: 43.98 kB / 0.7921 GB, free: 4.684 MB / 0.6075 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.0002948/0.3511, allocations: 184.3 kB / 0.7923 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.3512, allocations: 23.72 kB / 0.7923 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.3513, allocations: 30.3 kB / 0.7923 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3513, allocations: 4 kB / 0.7923 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3513, allocations: 3.984 kB / 0.7923 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3513, allocations: 0 / 0.7923 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3535, allocations: 0.7404 MB / 0.793 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3535, allocations: 3.938 kB / 0.7931 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.3536, allocations: 4 kB / 0.7931 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3536, allocations: 4 kB / 0.7931 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.3536, allocations: 15.97 kB / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3536, allocations: 0 / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3536, allocations: 0 / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.3554, allocations: 465.1 kB / 0.7935 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3556, allocations: 188.6 kB / 0.7937 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.3557, allocations: 20 kB / 0.7937 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.3562, allocations: 31.97 kB / 0.7937 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3563, allocations: 7.984 kB / 0.7938 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.3563, allocations: 43.97 kB / 0.7938 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002493/0.3566, allocations: 235 kB / 0.794 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3566, allocations: 3.938 kB / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004178/0.357, allocations: 55.91 kB / 0.7941 GB, free: 2.547 MB / 0.6075 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.0002191/0.3573, allocations: 127.7 kB / 0.7942 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.3585, allocations: 402.6 kB / 0.7946 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3586, allocations: 0 / 0.7946 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007986/0.3594, allocations: 115.9 kB / 0.7947 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.3598, allocations: 31.72 kB / 0.7947 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.3614, allocations: 0.6003 MB / 0.7953 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3618, allocations: 0.7554 MB / 0.796 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.3619, allocations: 19.38 kB / 0.7961 GB, free: 432 kB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.3619, allocations: 0 / 0.7961 GB, free: 432 kB / 0.6075 GB Notification: Performance of Templates: time 0.005551/0.3675, allocations: 3.186 MB / 0.7992 GB, free: 13.26 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1