Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001086/0.001086, allocations: 102.4 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.001426/0.001426, allocations: 176.3 kB / 16.58 MB, free: 6.039 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.484/1.484, allocations: 223.3 MB / 240.6 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.104/1.104, allocations: 143.4 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 12 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2129, allocations: 83.41 MB / 0.5981 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002035/0.215, allocations: 1.19 MB / 0.5992 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2161, allocations: 419.5 kB / 0.5996 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.2162, allocations: 0 / 0.5996 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2163, allocations: 3.938 kB / 0.5996 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.2164, allocations: 23.86 kB / 0.5996 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.2172, allocations: 211.6 kB / 0.5998 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.2175, allocations: 251.5 kB / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.763e-05/0.2176, allocations: 8 kB / 0.6001 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.218, allocations: 227.6 kB / 0.6003 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.2182, allocations: 135.7 kB / 0.6004 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.2183, allocations: 8 kB / 0.6004 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-05/0.2183, allocations: 12 kB / 0.6005 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.2185, allocations: 83.77 kB / 0.6005 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.2186, allocations: 69.58 kB / 0.6006 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2189, allocations: 219.8 kB / 0.6008 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2189, allocations: 0 / 0.6008 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2189, allocations: 4 kB / 0.6008 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2189, allocations: 0 / 0.6008 GB, free: 4.953 MB / 0.4981 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.001047/0.2199, allocations: 0.6604 MB / 0.6015 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.22, allocations: 12.03 kB / 0.6015 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.2201, allocations: 31.67 kB / 0.6015 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.2205, allocations: 254.5 kB / 0.6017 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.2205, allocations: 15.94 kB / 0.6018 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.2206, allocations: 23.98 kB / 0.6018 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.2214, allocations: 213.1 kB / 0.602 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2215, allocations: 3.938 kB / 0.602 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.2215, allocations: 4 kB / 0.602 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2215, allocations: 4 kB / 0.602 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.2222, allocations: 103.9 kB / 0.6021 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.2226, allocations: 317.3 kB / 0.6024 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.2235, allocations: 194.4 kB / 0.6026 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.2241, allocations: 116.8 kB / 0.6027 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.2241, allocations: 0 / 0.6027 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008131/0.2249, allocations: 223.1 kB / 0.6029 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.225, allocations: 0 / 0.6029 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002154/0.2271, allocations: 484.3 kB / 0.6034 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.2272, allocations: 59.34 kB / 0.6034 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.2275, allocations: 291 kB / 0.6037 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.2276, allocations: 37.69 kB / 0.6037 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.2277, allocations: 97.05 kB / 0.6038 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.2277, allocations: 35.59 kB / 0.6039 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.2278, allocations: 8 kB / 0.6039 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.228, allocations: 330.7 kB / 0.6042 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2282, allocations: 83.94 kB / 0.6043 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.2285, allocations: 134 kB / 0.6044 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.2287, allocations: 143.4 kB / 0.6045 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2287, allocations: 4 kB / 0.6045 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006583/0.2294, allocations: 396.6 kB / 0.6049 GB, free: 464 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2295, allocations: 79.31 kB / 0.605 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2295, allocations: 4 kB / 0.605 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2295, allocations: 0 / 0.605 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.2297, allocations: 27.92 kB / 0.605 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2297, allocations: 4 kB / 0.605 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.2301, allocations: 60.05 kB / 0.6051 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.2302, allocations: 43.98 kB / 0.6051 GB, free: 232 kB / 0.4981 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.0002056/0.2304, allocations: 171.9 kB / 0.6053 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.2305, allocations: 31.58 kB / 0.6053 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4014/0.6319, allocations: 23.03 kB / 0.6053 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6319, allocations: 5.906 kB / 0.6053 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.6319, allocations: 0 / 0.6053 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.632, allocations: 0.5156 kB / 0.6053 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.6342, allocations: 0.7077 MB / 0.606 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6342, allocations: 0.7188 kB / 0.606 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.6343, allocations: 5.859 kB / 0.606 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.6343, allocations: 3.844 kB / 0.606 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.6343, allocations: 20.3 kB / 0.6061 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6343, allocations: 0 / 0.6061 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6344, allocations: 0.5312 kB / 0.6061 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.6357, allocations: 464.6 kB / 0.6065 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.6359, allocations: 166.5 kB / 0.6067 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.636, allocations: 11.44 kB / 0.6067 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.6364, allocations: 40.28 kB / 0.6067 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.6364, allocations: 9.656 kB / 0.6067 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.6365, allocations: 45.8 kB / 0.6068 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001742/0.6366, allocations: 207.1 kB / 0.607 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6367, allocations: 2.844 kB / 0.607 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003679/0.637, allocations: 43.91 kB / 0.607 GB, free: 40.4 MB / 0.4981 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.0001345/0.6372, allocations: 120.2 kB / 0.6071 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009742/0.6381, allocations: 393.4 kB / 0.6075 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6382, allocations: 0 / 0.6075 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.6388, allocations: 125.6 kB / 0.6076 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.6391, allocations: 27.06 kB / 0.6077 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.6403, allocations: 0.5276 MB / 0.6082 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.6405, allocations: 0.7418 MB / 0.6089 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.6406, allocations: 17 kB / 0.6089 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.6406, allocations: 0 / 0.6089 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.004375/0.6449, allocations: 2.831 MB / 0.6117 GB, free: 39.04 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1