Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.000865, allocations: 99.12 kB / 15.71 MB, free: 452 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.001373/0.001373, allocations: 177.3 kB / 16.58 MB, free: 6.879 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.821/1.821, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.874/1.874, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.000852/0.000852, allocations: 20.12 kB / 0.6743 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3013, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00176/0.3032, allocations: 1.194 MB / 0.7891 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3042, allocations: 424.2 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.3043, allocations: 0 / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3044, allocations: 3.938 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3045, allocations: 19.86 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.3052, allocations: 215.2 kB / 0.7897 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.3055, allocations: 251.5 kB / 0.7899 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.3056, allocations: 11.98 kB / 0.79 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.3061, allocations: 231.6 kB / 0.7902 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.3063, allocations: 131.7 kB / 0.7903 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.3064, allocations: 12 kB / 0.7903 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.3064, allocations: 8 kB / 0.7903 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.3066, allocations: 83.72 kB / 0.7904 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.3067, allocations: 69.58 kB / 0.7905 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3069, allocations: 207.8 kB / 0.7907 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.307, allocations: 4 kB / 0.7907 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.053e-06/0.307, allocations: 4 kB / 0.7907 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.307, allocations: 0 / 0.7907 GB, free: 9.113 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009508/0.3079, allocations: 0.6526 MB / 0.7913 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.308, allocations: 8.031 kB / 0.7913 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.3081, allocations: 35.72 kB / 0.7914 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3084, allocations: 262.4 kB / 0.7916 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.3084, allocations: 19.92 kB / 0.7916 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.3085, allocations: 16 kB / 0.7916 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.3094, allocations: 213.5 kB / 0.7918 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3094, allocations: 0 / 0.7918 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.3095, allocations: 7.984 kB / 0.7919 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3095, allocations: 8 kB / 0.7919 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.3101, allocations: 99.92 kB / 0.792 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3105, allocations: 317.3 kB / 0.7923 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008973/0.3114, allocations: 190.4 kB / 0.7924 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.3121, allocations: 116.8 kB / 0.7926 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3121, allocations: 4 kB / 0.7926 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008167/0.313, allocations: 223.1 kB / 0.7928 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.313, allocations: 0 / 0.7928 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002355/0.3153, allocations: 480.3 kB / 0.7932 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.3154, allocations: 67.33 kB / 0.7933 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.3159, allocations: 290.9 kB / 0.7936 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.316, allocations: 37.7 kB / 0.7936 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.3161, allocations: 93.12 kB / 0.7937 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.3161, allocations: 35.55 kB / 0.7937 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.3162, allocations: 15.98 kB / 0.7937 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.3164, allocations: 326.7 kB / 0.7941 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3166, allocations: 83.89 kB / 0.7941 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.3168, allocations: 138.6 kB / 0.7943 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3171, allocations: 147.4 kB / 0.7944 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3171, allocations: 0 / 0.7944 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006768/0.3178, allocations: 399 kB / 0.7948 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.3179, allocations: 71.39 kB / 0.7949 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3179, allocations: 0 / 0.7949 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.318, allocations: 4 kB / 0.7949 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3182, allocations: 23.92 kB / 0.7949 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3182, allocations: 7.984 kB / 0.7949 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.3186, allocations: 64.05 kB / 0.795 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.3187, allocations: 36 kB / 0.795 GB, free: 4.387 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.3189, allocations: 171.9 kB / 0.7951 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.319, allocations: 31.58 kB / 0.7952 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.319, allocations: 34.28 kB / 0.7952 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.319, allocations: 4 kB / 0.7952 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.319, allocations: 0 / 0.7952 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3191, allocations: 4 kB / 0.7952 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.3211, allocations: 0.709 MB / 0.7959 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3211, allocations: 0 / 0.7959 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.3212, allocations: 4 kB / 0.7959 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3212, allocations: 0 / 0.7959 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.3212, allocations: 23.97 kB / 0.7959 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3212, allocations: 3.938 kB / 0.7959 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3213, allocations: 0 / 0.7959 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.3227, allocations: 470.8 kB / 0.7964 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.3229, allocations: 156.7 kB / 0.7965 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.323, allocations: 19.98 kB / 0.7966 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3234, allocations: 39.97 kB / 0.7966 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3234, allocations: 7.984 kB / 0.7966 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.3235, allocations: 35.98 kB / 0.7966 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001987/0.3237, allocations: 213.9 kB / 0.7968 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3237, allocations: 0 / 0.7968 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000322/0.324, allocations: 51.98 kB / 0.7969 GB, free: 2.332 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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 (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.0002377/0.3243, allocations: 113.7 kB / 0.797 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.3253, allocations: 393.5 kB / 0.7974 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3254, allocations: 4 kB / 0.7974 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006471/0.326, allocations: 119.9 kB / 0.7975 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3264, allocations: 32.72 kB / 0.7975 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3277, allocations: 0.5278 MB / 0.798 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3282, allocations: 0.7436 MB / 0.7988 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.3282, allocations: 19.42 kB / 0.7988 GB, free: 308 kB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.3282, allocations: 4 kB / 0.7988 GB, free: 304 kB / 0.6075 GB Notification: Performance of Templates: time 0.005193/0.3334, allocations: 2.816 MB / 0.8015 GB, free: 13.5 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1