Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.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.0008362/0.0008364, allocations: 102.5 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.001006/0.001006, allocations: 176.1 kB / 16.58 MB, free: 6.082 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.477/1.477, 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 9.1.2-maint.9.1.x/package.mo): time 2.646/2.646, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004734, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8825, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001278/0.8838, allocations: 1.182 MB / 0.9556 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.8847, allocations: 413 kB / 0.9559 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.8848, allocations: 1.812 kB / 0.956 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.808e-05/0.8849, allocations: 3.938 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.885, allocations: 23.47 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.8855, allocations: 212.8 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.8858, allocations: 253.1 kB / 0.9564 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.8859, allocations: 12.14 kB / 0.9564 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.8862, allocations: 221 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.8864, allocations: 138.5 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.8865, allocations: 8.75 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.8865, allocations: 11.12 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.8866, allocations: 83.27 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.8867, allocations: 66.39 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.8869, allocations: 213.8 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8869, allocations: 1.094 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8869, allocations: 4 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.887, allocations: 0 / 0.9571 GB, free: 6.121 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007135/0.8877, allocations: 0.6645 MB / 0.9578 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.8877, allocations: 8.75 kB / 0.9578 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.8878, allocations: 29.75 kB / 0.9578 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.888, allocations: 259.3 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.8881, allocations: 11.53 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.8881, allocations: 19.67 kB / 0.9581 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008348/0.889, allocations: 212 kB / 0.9583 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.889, allocations: 7.875 kB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.889, allocations: 5.125 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.889, allocations: 10.14 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.8897, allocations: 104.8 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.89, allocations: 309.3 kB / 0.9587 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.8909, allocations: 189.5 kB / 0.9589 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.8915, allocations: 118.4 kB / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.8916, allocations: 1.781 kB / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007788/0.8923, allocations: 225.5 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.8924, allocations: 0 / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00228/0.8946, allocations: 474.9 kB / 0.9597 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.8947, allocations: 64.2 kB / 0.9598 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.8951, allocations: 297.6 kB / 0.96 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.8951, allocations: 35.95 kB / 0.9601 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.8952, allocations: 93.78 kB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.8952, allocations: 37.64 kB / 0.9602 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.8953, allocations: 7.906 kB / 0.9602 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.8953, allocations: 321.8 kB / 0.9605 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.8955, allocations: 84.56 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.8957, allocations: 137.8 kB / 0.9607 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.8959, allocations: 151.4 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8959, allocations: 1 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006113/0.8966, allocations: 391.1 kB / 0.9612 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.8966, allocations: 78.88 kB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8966, allocations: 1.969 kB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8967, allocations: 3 kB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.8968, allocations: 22.45 kB / 0.9613 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.8968, allocations: 7.219 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.8973, allocations: 68.11 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.8973, allocations: 42.98 kB / 0.9615 GB, free: 2.863 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.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.0001456/0.8975, allocations: 173.2 kB / 0.9616 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.8975, allocations: 27.44 kB / 0.9616 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.8976, allocations: 28.27 kB / 0.9617 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8976, allocations: 6 kB / 0.9617 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8976, allocations: 3.984 kB / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8976, allocations: 1.031 kB / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.8994, allocations: 0.7134 MB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8994, allocations: 0 / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.8995, allocations: 4.188 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8995, allocations: 1.156 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.8995, allocations: 28.06 kB / 0.9624 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8995, allocations: 1.625 kB / 0.9624 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8995, allocations: 3.938 kB / 0.9624 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.901, allocations: 467.1 kB / 0.9629 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.9012, allocations: 162.7 kB / 0.963 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.9012, allocations: 10.09 kB / 0.963 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.9016, allocations: 38.86 kB / 0.9631 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.9017, allocations: 8.406 kB / 0.9631 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.9017, allocations: 40.94 kB / 0.9631 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001757/0.9019, allocations: 209 kB / 0.9633 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9019, allocations: 0 / 0.9633 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003366/0.9023, allocations: 45.59 kB / 0.9634 GB, free: 1.559 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.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.0001215/0.9024, allocations: 131.2 kB / 0.9635 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.9034, allocations: 393.1 kB / 0.9639 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9034, allocations: 0.875 kB / 0.9639 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.9041, allocations: 122.5 kB / 0.964 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.9044, allocations: 38.89 kB / 0.964 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.9056, allocations: 0.5206 MB / 0.9645 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.9058, allocations: 0.7458 MB / 0.9652 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.9058, allocations: 14.84 kB / 0.9653 GB, free: 20 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9058, allocations: 4 kB / 0.9653 GB, free: 16 kB / 0.7169 GB Notification: Performance of Templates: time 0.005101/0.911, allocations: 2.831 MB / 0.968 GB, free: 14.56 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1