Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 96.14 kB / 15.87 MB, free: 16 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.001734/0.001734, allocations: 195 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 222.6 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.5491 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 66.8 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2718, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002964/0.2748, allocations: 1.55 MB / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2762, allocations: 0.776 MB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.2762, allocations: 4 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.2763, allocations: 0 / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.2763, allocations: 11.86 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.2769, allocations: 91.78 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.277, allocations: 67.78 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2771, allocations: 15.98 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.2772, allocations: 35.84 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.2772, allocations: 27.91 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2773, allocations: 0 / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2775, allocations: 91.91 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.2775, allocations: 11.92 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.2776, allocations: 31.86 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2777, allocations: 99.98 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2777, allocations: 7.938 kB / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2778, allocations: 0 / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2778, allocations: 4 kB / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006372/0.2784, allocations: 434.7 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2785, allocations: 8.031 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.2785, allocations: 8.844 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2786, allocations: 184.2 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2787, allocations: 4.375 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2787, allocations: 8.375 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2789, allocations: 69.97 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2789, allocations: 0 / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.279, allocations: 4 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.279, allocations: 0 / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.2791, allocations: 43.89 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.2796, allocations: 300.7 kB / 0.7871 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2798, allocations: 46.56 kB / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.2799, allocations: 28.97 kB / 0.7872 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2799, allocations: 4 kB / 0.7872 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.2801, allocations: 83.31 kB / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2801, allocations: 0 / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004173/0.2806, allocations: 133.7 kB / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.2806, allocations: 59.41 kB / 0.7874 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2807, allocations: 121.8 kB / 0.7875 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2808, allocations: 29.64 kB / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.2808, allocations: 96.06 kB / 0.7877 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2809, allocations: 11.81 kB / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.2809, allocations: 37.64 kB / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.281, allocations: 322.8 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.2811, allocations: 19.98 kB / 0.788 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.2812, allocations: 69.06 kB / 0.7881 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2814, allocations: 89.08 kB / 0.7882 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.2814, allocations: 3.984 kB / 0.7882 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002158/0.2816, allocations: 117.4 kB / 0.7883 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2816, allocations: 4 kB / 0.7883 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2817, allocations: 4 kB / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2817, allocations: 0 / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.2818, allocations: 15.94 kB / 0.7883 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2818, allocations: 0 / 0.7883 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.2819, allocations: 7.984 kB / 0.7883 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2819, allocations: 4 kB / 0.7883 GB, free: 8.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.282, allocations: 135 kB / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.282, allocations: 7.938 kB / 0.7885 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.282, allocations: 12.36 kB / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.282, allocations: 0 / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2821, allocations: 0 / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2821, allocations: 0 / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.2825, allocations: 382.4 kB / 0.7889 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2825, allocations: 4 kB / 0.7889 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.2826, allocations: 4 kB / 0.7889 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2826, allocations: 0 / 0.7889 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2826, allocations: 7.984 kB / 0.7889 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2826, allocations: 0 / 0.7889 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2826, allocations: 7.875 kB / 0.7889 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.2829, allocations: 203.8 kB / 0.7891 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.283, allocations: 89.02 kB / 0.7892 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.283, allocations: 3.984 kB / 0.7892 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.2831, allocations: 8 kB / 0.7892 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.2831, allocations: 7.922 kB / 0.7892 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2831, allocations: 4 kB / 0.7892 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.2832, allocations: 91.27 kB / 0.7893 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2832, allocations: 0 / 0.7893 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002943/0.2835, allocations: 36 kB / 0.7893 GB, free: 7.488 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/0.2839, allocations: 170 kB / 0.7895 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2841, allocations: 67.89 kB / 0.7895 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2841, allocations: 0 / 0.7895 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.2842, allocations: 40.22 kB / 0.7896 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2845, allocations: 19.98 kB / 0.7896 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.285, allocations: 220.3 kB / 0.7898 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2852, allocations: 0.6926 MB / 0.7905 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.2852, allocations: 11.44 kB / 0.7905 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2852, allocations: 0 / 0.7905 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.003281/0.2885, allocations: 1.572 MB / 0.792 GB, free: 4.656 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOutCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOutCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOutCalcHelperMain.o] Error 1