Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008626/0.0008626, allocations: 92.78 kB / 16.02 MB, free: 80 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.0009239/0.0009237, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.701/1.701, allocations: 205.4 MB / 223.1 MB, free: 5.488 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.823/1.823, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0008022/0.0008023, allocations: 13.12 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3026, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002265/0.305, allocations: 1.262 MB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3068, allocations: 0.7879 MB / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.3069, allocations: 0 / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.3069, allocations: 3.938 kB / 0.7905 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.3071, allocations: 19.84 kB / 0.7906 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/0.3077, allocations: 107.8 kB / 0.7907 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3079, allocations: 87.7 kB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.308, allocations: 19.98 kB / 0.7908 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3082, allocations: 39.78 kB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3083, allocations: 47.81 kB / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3083, allocations: 4 kB / 0.7909 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.3086, allocations: 91.84 kB / 0.7909 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.3087, allocations: 15.92 kB / 0.791 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.3088, allocations: 65.44 kB / 0.791 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.309, allocations: 120 kB / 0.7911 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.309, allocations: 0 / 0.7911 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.083e-06/0.309, allocations: 4 kB / 0.7911 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3091, allocations: 3.938 kB / 0.7911 GB, free: 8.871 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009086/0.31, allocations: 496.2 kB / 0.7916 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.31, allocations: 8.031 kB / 0.7916 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.3101, allocations: 8.844 kB / 0.7916 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3103, allocations: 184.1 kB / 0.7918 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3104, allocations: 4.375 kB / 0.7918 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3104, allocations: 16.36 kB / 0.7918 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3107, allocations: 85.89 kB / 0.7919 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3107, allocations: 0 / 0.7919 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3107, allocations: 0 / 0.7919 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3107, allocations: 0 / 0.7919 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3109, allocations: 51.97 kB / 0.792 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.3116, allocations: 340.7 kB / 0.7923 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3118, allocations: 82.67 kB / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3119, allocations: 44.83 kB / 0.7924 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.312, allocations: 3.938 kB / 0.7924 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.3122, allocations: 107.2 kB / 0.7925 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 4.338e-06/0.3123, allocations: 3.984 kB / 0.7925 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004936/0.3128, allocations: 177.5 kB / 0.7927 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.3128, allocations: 63.38 kB / 0.7927 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.313, allocations: 148.5 kB / 0.7929 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.313, allocations: 25.7 kB / 0.7929 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3131, allocations: 100.1 kB / 0.793 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.3132, allocations: 23.62 kB / 0.793 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3132, allocations: 21.7 kB / 0.7931 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3134, allocations: 330.8 kB / 0.7934 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/0.3135, allocations: 31.98 kB / 0.7934 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3136, allocations: 73.06 kB / 0.7935 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.3138, allocations: 109.1 kB / 0.7936 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3138, allocations: 0 / 0.7936 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003077/0.3141, allocations: 141.5 kB / 0.7937 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3142, allocations: 8 kB / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3142, allocations: 0 / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3142, allocations: 4 kB / 0.7937 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.3143, allocations: 19.92 kB / 0.7937 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.3144, allocations: 0 / 0.7937 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3145, allocations: 27.86 kB / 0.7938 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3145, allocations: 4 kB / 0.7938 GB, free: 5.906 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: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001486/0.3147, allocations: 130.5 kB / 0.7939 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3147, allocations: 11.81 kB / 0.7939 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.3152, allocations: 174.3 kB / 0.7941 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3152, allocations: 4 kB / 0.7941 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3152, allocations: 0 / 0.7941 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3152, allocations: 0 / 0.7941 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.3159, allocations: 482.2 kB / 0.7945 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3159, allocations: 0 / 0.7945 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.316, allocations: 12 kB / 0.7945 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.316, allocations: 0 / 0.7945 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.316, allocations: 11.98 kB / 0.7946 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.316, allocations: 4 kB / 0.7946 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3161, allocations: 12.06 kB / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.3164, allocations: 251 kB / 0.7948 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.3165, allocations: 85.02 kB / 0.7949 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3165, allocations: 4 kB / 0.7949 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3167, allocations: 23.92 kB / 0.7949 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.3167, allocations: 11.92 kB / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3167, allocations: 7.984 kB / 0.7949 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.3168, allocations: 107.2 kB / 0.795 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 0.795 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000343/0.3172, allocations: 47.98 kB / 0.7951 GB, free: 4.449 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004856/0.3177, allocations: 156.3 kB / 0.7952 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.318, allocations: 95.89 kB / 0.7953 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.318, allocations: 0 / 0.7953 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3181, allocations: 67.47 kB / 0.7954 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3185, allocations: 26.16 kB / 0.7954 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.3191, allocations: 308.5 kB / 0.7957 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3195, allocations: 0.7004 MB / 0.7964 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.3195, allocations: 19.44 kB / 0.7964 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.3195, allocations: 0 / 0.7964 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.005113/0.3246, allocations: 1.98 MB / 0.7983 GB, free: 1.062 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Lighting.Validation.Reinhart2003LightCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.o] Error 1