Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 100.4 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.002079/0.00208, allocations: 174.2 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.448/1.448, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.801/2.801, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003736, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8851, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001642/0.8868, allocations: 1.184 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000998/0.8878, allocations: 0.639 MB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.8879, allocations: 4 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/0.888, allocations: 7.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.888, allocations: 11.92 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.8888, allocations: 286.5 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.889, allocations: 143.6 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.8891, allocations: 11.97 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.8892, allocations: 63.84 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.8892, allocations: 51.81 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.8893, allocations: 8 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.8896, allocations: 219.7 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.8897, allocations: 35.89 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.8897, allocations: 45.64 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.89, allocations: 209.6 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.89, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.89, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.89, allocations: 0 / 1.025 GB, free: 14.18 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006236/0.8907, allocations: 454.9 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.8907, allocations: 11.98 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.8908, allocations: 15.81 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.891, allocations: 212.5 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.891, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.8911, allocations: 19.89 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.8913, allocations: 108.2 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8913, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8913, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8913, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.8914, allocations: 43.91 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.8917, allocations: 247.3 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.8918, allocations: 111.9 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.892, allocations: 74.64 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.892, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.8923, allocations: 149 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.8923, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004284/0.8927, allocations: 210.1 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.8928, allocations: 118.8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.8929, allocations: 143.6 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.893, allocations: 37.7 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.893, allocations: 100.7 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.8931, allocations: 59.28 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.8931, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8933, allocations: 326.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.8934, allocations: 52.25 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.8936, allocations: 182 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.8937, allocations: 67.97 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8937, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002858/0.894, allocations: 201.4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.894, allocations: 7.953 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.8941, allocations: 8.078 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8941, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.8942, allocations: 19.92 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8942, allocations: 3.984 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.8944, allocations: 55.8 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.8944, allocations: 8 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001366/0.8946, allocations: 144 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.8946, allocations: 11.81 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.8947, allocations: 20.67 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8947, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8947, allocations: 4 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8947, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.8949, allocations: 205.5 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8949, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.8949, allocations: 11.94 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8949, allocations: 8 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.895, allocations: 7.984 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.895, allocations: 7.953 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.895, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.8953, allocations: 205 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.8953, allocations: 93 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.8953, allocations: 11.98 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.8954, allocations: 4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.8955, allocations: 19.92 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.8955, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.241e-05/0.8956, allocations: 110.1 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8956, allocations: 0 / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003743/0.896, allocations: 103.9 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003095/0.8963, allocations: 199.1 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.8966, allocations: 221.3 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8966, allocations: 0 / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.8967, allocations: 51.92 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.8969, allocations: 8 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.8974, allocations: 297.6 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.8977, allocations: 0.7087 MB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.8977, allocations: 19.44 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8977, allocations: 4 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.005113/0.9028, allocations: 3.083 MB / 1.033 GB, free: 5.168 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.SetPoints.Validation.OccupancyScheduleNegativeStartTimeCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTimeCalcHelperMain.o] Error 1