Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008328/0.0008328, allocations: 102.7 kB / 15.71 MB, free: 460 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.001135/0.001135, allocations: 175.7 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.767, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001916/0.769, allocations: 1.361 MB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.77, allocations: 479.8 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.77, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.7701, allocations: 7.922 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.7702, allocations: 27.84 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.7707, allocations: 211.6 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.7711, allocations: 323.4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.7712, allocations: 25.09 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.7715, allocations: 231.5 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.7717, allocations: 139.7 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.7718, allocations: 19.94 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.7719, allocations: 12 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.772, allocations: 87.69 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.7721, allocations: 77.58 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.7724, allocations: 325.2 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7724, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7724, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.7724, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 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.0008477/0.7732, allocations: 0.6837 MB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.7733, allocations: 8.031 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.7734, allocations: 35.62 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.7737, allocations: 283 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.7737, allocations: 12 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.7738, allocations: 23.98 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.7746, allocations: 233.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.7747, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.7747, allocations: 3.984 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7747, allocations: 7.953 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.7754, allocations: 119.9 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.7764, allocations: 0.5707 MB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.7773, allocations: 194.5 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.7779, allocations: 127.9 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.778, allocations: 8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/0.7788, allocations: 223.1 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.7788, allocations: 8 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002133/0.7809, allocations: 488.9 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.781, allocations: 67.39 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.7813, allocations: 312.5 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.7814, allocations: 41.64 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.7814, allocations: 101 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.7815, allocations: 39.45 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.7815, allocations: 8 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7817, allocations: 326.8 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.7819, allocations: 99.88 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.7821, allocations: 153.9 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.7823, allocations: 157.4 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7823, allocations: 4 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000637/0.783, allocations: 416.6 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.7831, allocations: 75.39 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7831, allocations: 7.984 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7831, allocations: 4 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.7832, allocations: 19.98 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7833, allocations: 11.88 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.7837, allocations: 67.98 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.7838, allocations: 39.98 kB / 1.03 GB, free: 8.57 MB / 0.7794 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (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.0001819/0.7839, allocations: 184.4 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.784, allocations: 35.56 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.7841, allocations: 34.36 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.7841, allocations: 4 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7841, allocations: 3.938 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7841, allocations: 0 / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.7859, allocations: 0.7461 MB / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7859, allocations: 0 / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.786, allocations: 11.94 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.786, allocations: 0 / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.786, allocations: 19.97 kB / 1.031 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.786, allocations: 4 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.786, allocations: 0 / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.7875, allocations: 474.8 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.7878, allocations: 188.6 kB / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.7878, allocations: 24 kB / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.7883, allocations: 31.97 kB / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.7883, allocations: 7.984 kB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.7884, allocations: 47.97 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002423/0.7886, allocations: 223 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.414e-06/0.7886, allocations: 0 / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003432/0.789, allocations: 59.94 kB / 1.032 GB, free: 6.398 MB / 0.7794 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 (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.0002324/0.7892, allocations: 134 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.7902, allocations: 406.5 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7903, allocations: 0 / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.7909, allocations: 144.2 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.7913, allocations: 28.59 kB / 1.032 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.7926, allocations: 0.5715 MB / 1.033 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.7929, allocations: 0.7581 MB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.7929, allocations: 15.44 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7929, allocations: 0 / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.004675/0.7976, allocations: 3.187 MB / 1.037 GB, free: 1.102 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o] Error 1