Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_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.0008028/0.000807, 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.0008906/0.0008908, allocations: 177.3 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.4 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 16 kB / 0.8155 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9593/0.9597, allocations: 142.3 MB / 0.9544 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002127/0.9619, allocations: 1.361 MB / 0.9558 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.963, allocations: 471.5 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.9632, allocations: 0 / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.9633, allocations: 9.156 kB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.9634, allocations: 27.89 kB / 0.9563 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.9643, allocations: 225.8 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.9648, allocations: 315.5 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.9649, allocations: 29.31 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.9655, allocations: 237.1 kB / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.9658, allocations: 147.8 kB / 0.9572 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.966, allocations: 9.656 kB / 0.9572 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.966, allocations: 10.62 kB / 0.9572 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.9662, allocations: 80.62 kB / 0.9573 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.9663, allocations: 79.8 kB / 0.9573 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.9667, allocations: 332.2 kB / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9667, allocations: 0 / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9667, allocations: 0 / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.9667, allocations: 3.938 kB / 0.9577 GB, free: 5.805 MB / 0.7169 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.001134/0.9678, allocations: 0.6864 MB / 0.9583 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9679, allocations: 9.094 kB / 0.9583 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.9681, allocations: 34.94 kB / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.9685, allocations: 263 kB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.9686, allocations: 26.64 kB / 0.9587 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.976e-05/0.9687, allocations: 15.09 kB / 0.9587 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/0.9696, allocations: 243.1 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9696, allocations: 0 / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.9696, allocations: 5.375 kB / 0.9589 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.9696, allocations: 1.375 kB / 0.9589 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.9704, allocations: 125.3 kB / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.9716, allocations: 0.5677 MB / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.9725, allocations: 201 kB / 0.9598 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/0.9732, allocations: 126.7 kB / 0.9599 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.9732, allocations: 1.969 kB / 0.9599 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008556/0.9741, allocations: 231 kB / 0.9601 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.9741, allocations: 0 / 0.9601 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002747/0.9769, allocations: 494.5 kB / 0.9606 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.9769, allocations: 63.73 kB / 0.9606 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.9773, allocations: 313 kB / 0.9609 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.9774, allocations: 35.55 kB / 0.961 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.9775, allocations: 99.08 kB / 0.9611 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.9776, allocations: 42.34 kB / 0.9611 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.9776, allocations: 8.219 kB / 0.9611 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.9777, allocations: 325 kB / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.9779, allocations: 96.94 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.9781, allocations: 149.9 kB / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.9784, allocations: 170.3 kB / 0.9618 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9784, allocations: 7.938 kB / 0.9618 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006876/0.9791, allocations: 412 kB / 0.9622 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/0.9792, allocations: 76.17 kB / 0.9623 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.9792, allocations: 1.125 kB / 0.9623 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.9792, allocations: 7.297 kB / 0.9623 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.9794, allocations: 21.95 kB / 0.9623 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9794, allocations: 10.97 kB / 0.9623 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.9799, allocations: 59.84 kB / 0.9624 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.98, allocations: 43.08 kB / 0.9624 GB, free: 2.207 MB / 0.7169 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.0002157/0.9803, allocations: 186.9 kB / 0.9626 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.9803, allocations: 28.03 kB / 0.9626 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.9804, allocations: 29.61 kB / 0.9627 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.9804, allocations: 1.469 kB / 0.9627 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.9804, allocations: 5.391 kB / 0.9627 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.9804, allocations: 0 / 0.9627 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.9824, allocations: 0.7601 MB / 0.9634 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9824, allocations: 4 kB / 0.9634 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.9824, allocations: 8.453 kB / 0.9634 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9824, allocations: 4.984 kB / 0.9634 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.9825, allocations: 11.98 kB / 0.9634 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.9825, allocations: 4.984 kB / 0.9635 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.9825, allocations: 1.312 kB / 0.9635 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.9842, allocations: 479 kB / 0.9639 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.9844, allocations: 188.6 kB / 0.9641 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.9845, allocations: 22.59 kB / 0.9641 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.9849, allocations: 32.12 kB / 0.9641 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.985, allocations: 12.08 kB / 0.9642 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.9851, allocations: 37.86 kB / 0.9642 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002992/0.9854, allocations: 232.4 kB / 0.9644 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9854, allocations: 4 kB / 0.9644 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003991/0.9858, allocations: 51.91 kB / 0.9645 GB, free: 0.8047 MB / 0.7169 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.0002326/0.986, allocations: 125.6 kB / 0.9646 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.9873, allocations: 410.3 kB / 0.965 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9873, allocations: 0 / 0.965 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007306/0.988, allocations: 133.2 kB / 0.9651 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.9885, allocations: 30.86 kB / 0.9651 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.9902, allocations: 0.581 MB / 0.9657 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.9907, allocations: 0.7479 MB / 0.9664 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.9907, allocations: 23.02 kB / 0.9665 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.9907, allocations: 0 / 0.9665 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.009181/0.9999, allocations: 3.183 MB / 0.9696 GB, free: 13.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1