Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007851/0.007851, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.708/1.708, allocations: 205.1 MB / 222.6 MB, free: 4.695 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.81/1.81, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001464/0.001465, allocations: 60.7 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3366, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003344/0.34, allocations: 1.566 MB / 0.7849 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3416, allocations: 0.8033 MB / 0.7856 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.3416, allocations: 4 kB / 0.7856 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.3417, allocations: 0 / 0.7856 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3418, allocations: 15.84 kB / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.3424, allocations: 107.8 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3425, allocations: 79.72 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3426, allocations: 15.98 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.3427, allocations: 27.91 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.3428, allocations: 39.78 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3428, allocations: 4 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.343, allocations: 91.91 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.3431, allocations: 23.89 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.3431, allocations: 31.8 kB / 0.7861 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.3433, allocations: 108 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3433, allocations: 0 / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3433, allocations: 0 / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3433, allocations: 0 / 0.7862 GB, free: 11.06 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008345/0.3442, allocations: 458.6 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3442, allocations: 11.97 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.3443, allocations: 8.844 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3445, allocations: 184.2 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3445, allocations: 8.375 kB / 0.7868 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3445, allocations: 4.375 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3447, allocations: 73.97 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3447, allocations: 3.984 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3448, allocations: 0 / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3448, allocations: 4 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3449, allocations: 47.84 kB / 0.7869 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.3456, allocations: 320.7 kB / 0.7872 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3458, allocations: 70.58 kB / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.3459, allocations: 36.78 kB / 0.7873 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.3459, allocations: 160 / 0.7873 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.3463, allocations: 95.34 kB / 0.7874 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3463, allocations: 0 / 0.7874 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004807/0.3468, allocations: 157.5 kB / 0.7876 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.3469, allocations: 55.41 kB / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3471, allocations: 133.7 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3471, allocations: 29.7 kB / 0.7878 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3473, allocations: 88.38 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3473, allocations: 27.7 kB / 0.7879 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.3474, allocations: 29.7 kB / 0.7879 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003176/0.3478, allocations: 322.8 kB / 0.7882 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3479, allocations: 27.92 kB / 0.7883 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.3482, allocations: 65.12 kB / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3485, allocations: 101.1 kB / 0.7884 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3485, allocations: 0 / 0.7884 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005271/0.3491, allocations: 133.4 kB / 0.7886 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.3491, allocations: 7.984 kB / 0.7886 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3491, allocations: 4 kB / 0.7886 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3492, allocations: 0 / 0.7886 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3493, allocations: 19.92 kB / 0.7886 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3493, allocations: 0 / 0.7886 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3495, allocations: 15.94 kB / 0.7886 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3495, allocations: 7.984 kB / 0.7886 GB, free: 8.289 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001357/0.3496, allocations: 126.6 kB / 0.7887 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.3497, allocations: 8.281 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.35, allocations: 153.8 kB / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.35, allocations: 0 / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.35, allocations: 0 / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.35, allocations: 3.938 kB / 0.7889 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.3506, allocations: 438.3 kB / 0.7893 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3507, allocations: 0 / 0.7893 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.3508, allocations: 15.94 kB / 0.7893 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3508, allocations: 4 kB / 0.7893 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.3508, allocations: 3.984 kB / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3508, allocations: 0 / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3508, allocations: 3.938 kB / 0.7893 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.3512, allocations: 231.4 kB / 0.7895 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.3513, allocations: 88.94 kB / 0.7896 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3513, allocations: 4 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3514, allocations: 7.984 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.3515, allocations: 15.92 kB / 0.7897 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.3515, allocations: 4 kB / 0.7897 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001785/0.3517, allocations: 98.14 kB / 0.7898 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3517, allocations: 0 / 0.7898 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003441/0.3521, allocations: 51.92 kB / 0.7898 GB, free: 6.953 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * 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 (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.0004718/0.3526, allocations: 155.4 kB / 0.79 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.3529, allocations: 79.91 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.353, allocations: 256 / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3531, allocations: 51.91 kB / 0.7901 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3534, allocations: 22.73 kB / 0.7901 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.3541, allocations: 263 kB / 0.7904 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.3549, allocations: 0.6965 MB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.355, allocations: 19.42 kB / 0.7911 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/0.355, allocations: 0 / 0.7911 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.006423/0.3614, allocations: 1.821 MB / 0.7928 GB, free: 3.816 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1CalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1CalcHelperMain.o] Error 1