Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, 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.001581/0.001581, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.531/1.531, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 436.7 MB / 0.7114 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003731, allocations: 8 kB / 0.8717 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8719, allocations: 153.6 MB / 1.022 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001059/0.873, allocations: 371.5 kB / 1.022 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004908/0.8735, allocations: 183.5 kB / 1.022 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.8736, allocations: 0 / 1.022 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.8737, allocations: 11.92 kB / 1.022 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.8737, allocations: 0 / 1.022 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.874, allocations: 35.91 kB / 1.022 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.8742, allocations: 47.91 kB / 1.022 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.8743, allocations: 7.984 kB / 1.022 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.8744, allocations: 15.94 kB / 1.022 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.8745, allocations: 35.89 kB / 1.022 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.8745, allocations: 0 / 1.022 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.8745, allocations: 4 kB / 1.022 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.8746, allocations: 15.88 kB / 1.022 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.8746, allocations: 29.7 kB / 1.022 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.8748, allocations: 55.86 kB / 1.023 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.8748, allocations: 0 / 1.023 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8748, allocations: 0 / 1.023 GB, free: 400 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8748, allocations: 0 / 1.023 GB, free: 400 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006423/0.8754, allocations: 398.7 kB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.8755, allocations: 15.98 kB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.8755, allocations: 7.906 kB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.8757, allocations: 178.9 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.8758, allocations: 12 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.8758, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.876, allocations: 89.53 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.876, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8761, allocations: 4 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.8761, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.8762, allocations: 43.95 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.8768, allocations: 356.6 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.8771, allocations: 118.5 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.8772, allocations: 64.86 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.8772, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.8774, allocations: 91.31 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.8774, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003307/0.8777, allocations: 153.5 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8778, allocations: 55.39 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.8779, allocations: 121.8 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.8779, allocations: 29.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.878, allocations: 92.03 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.878, allocations: 24.12 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.8781, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8782, allocations: 326.8 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.8783, allocations: 31.98 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.8783, allocations: 66.48 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.8784, allocations: 36 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8784, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001845/0.8786, allocations: 133.5 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8786, allocations: 8.109 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8787, allocations: 3.938 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.8787, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.8788, allocations: 15.98 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.8788, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.8788, allocations: 4 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.8789, allocations: 23.95 kB / 1.025 GB, free: 13.7 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: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001458/0.8791, allocations: 137.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.8791, allocations: 7.906 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.8791, allocations: 8.375 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8791, allocations: 4 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8792, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8792, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.8796, allocations: 418.3 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8796, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.8796, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8796, allocations: 8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.8797, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8797, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8797, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.8799, allocations: 219.4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.88, allocations: 81.02 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.88, allocations: 8 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.8801, allocations: 7.984 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.8801, allocations: 8.188 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.8802, allocations: 35.88 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.8802, allocations: 99.2 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8803, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002283/0.8805, allocations: 12 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001279/0.8806, allocations: 103.2 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.8808, allocations: 95.86 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8808, allocations: 8.062 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.8809, allocations: 51.89 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.8814, allocations: 70.16 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.8819, allocations: 246.7 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.8822, allocations: 0.7005 MB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.8822, allocations: 11.44 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8822, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.003117/0.8853, allocations: 1.261 MB / 1.028 GB, free: 9.973 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheckCalcHelperMain.o] Error 1