Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 100.5 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.0009916/0.0009917, allocations: 178.9 kB / 16.58 MB, free: 6.422 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.461/1.461, 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.622/2.622, allocations: 390.5 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8922, allocations: 142.3 MB / 0.9544 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001392/0.8936, allocations: 1.181 MB / 0.9556 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007287/0.8944, allocations: 412.4 kB / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.8944, allocations: 0.7812 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.523e-05/0.8945, allocations: 7.922 kB / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.8946, allocations: 15.77 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.8952, allocations: 218.2 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.8955, allocations: 251.9 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.8955, allocations: 8.891 kB / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.8959, allocations: 228.8 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.8962, allocations: 137.6 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.8962, allocations: 10.34 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.315e-05/0.8963, allocations: 9.469 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.8964, allocations: 89.25 kB / 0.9569 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.8965, allocations: 69.58 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.8967, allocations: 205.6 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8967, allocations: 1.125 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8967, allocations: 0 / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.8968, allocations: 0 / 0.9571 GB, free: 6.102 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.0007721/0.8975, allocations: 0.6641 MB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.8976, allocations: 13.19 kB / 0.9578 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.8977, allocations: 39.89 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.8979, allocations: 248.7 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.898, allocations: 16.17 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.8981, allocations: 19.16 kB / 0.9581 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.8989, allocations: 212 kB / 0.9583 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8989, allocations: 0 / 0.9583 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.8989, allocations: 1.438 kB / 0.9583 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.8989, allocations: 5.359 kB / 0.9583 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.8996, allocations: 105.6 kB / 0.9584 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.8999, allocations: 320.6 kB / 0.9587 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.9008, allocations: 182.2 kB / 0.9589 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.9014, allocations: 117.7 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.9014, allocations: 10.72 kB / 0.959 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007637/0.9022, allocations: 220.5 kB / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.9022, allocations: 0 / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002131/0.9044, allocations: 481.3 kB / 0.9597 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9044, allocations: 68.47 kB / 0.9598 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.9047, allocations: 289.2 kB / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.9047, allocations: 35.86 kB / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.9048, allocations: 90.22 kB / 0.9602 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.9048, allocations: 41.33 kB / 0.9602 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.9049, allocations: 8.312 kB / 0.9602 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.9049, allocations: 325.1 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.9051, allocations: 84.73 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.9053, allocations: 134.6 kB / 0.9607 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.9055, allocations: 152.9 kB / 0.9609 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9055, allocations: 0 / 0.9609 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005981/0.9061, allocations: 393.5 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.9062, allocations: 77.08 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9062, allocations: 1.5 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.9062, allocations: 3.688 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.9064, allocations: 26.5 kB / 0.9614 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.9064, allocations: 2.438 kB / 0.9614 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.9068, allocations: 72.58 kB / 0.9614 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.9069, allocations: 42.8 kB / 0.9615 GB, free: 2.84 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.000153/0.9071, allocations: 177.5 kB / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.9071, allocations: 27.06 kB / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.9072, allocations: 29.11 kB / 0.9617 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9072, allocations: 1.156 kB / 0.9617 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9072, allocations: 0 / 0.9617 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9072, allocations: 9.047 kB / 0.9617 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.909, allocations: 0.7118 MB / 0.9624 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.909, allocations: 3.938 kB / 0.9624 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.9091, allocations: 8.516 kB / 0.9624 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.9091, allocations: 1.312 kB / 0.9624 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.9091, allocations: 11.61 kB / 0.9624 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.9091, allocations: 5.281 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9091, allocations: 0 / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.9106, allocations: 479.8 kB / 0.9629 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.9107, allocations: 153.2 kB / 0.963 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.9108, allocations: 14.08 kB / 0.963 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.9112, allocations: 35.19 kB / 0.9631 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.9113, allocations: 8.047 kB / 0.9631 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.9113, allocations: 46.78 kB / 0.9631 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00019/0.9115, allocations: 208.7 kB / 0.9633 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9115, allocations: 0 / 0.9633 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000332/0.9119, allocations: 48.73 kB / 0.9634 GB, free: 1.527 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.0001237/0.912, allocations: 118.8 kB / 0.9635 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.913, allocations: 393.8 kB / 0.9639 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.913, allocations: 0 / 0.9639 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.9137, allocations: 127.6 kB / 0.964 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.914, allocations: 24.11 kB / 0.964 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.9152, allocations: 0.529 MB / 0.9645 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.9154, allocations: 0.7428 MB / 0.9652 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.9155, allocations: 25.67 kB / 0.9653 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.9155, allocations: 1.125 kB / 0.9653 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.005169/0.9207, allocations: 2.828 MB / 0.968 GB, free: 14.54 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile make -j1 -f Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1