Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009243/0.0009239, allocations: 98.56 kB / 16.02 MB, free: 76 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.001045/0.001045, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.646/1.646, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.779/1.779, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005862/0.0005862, allocations: 13.59 kB / 0.675 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3217, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002325/0.3241, allocations: 1.227 MB / 0.7897 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.326, allocations: 0.7801 MB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.3261, allocations: 4 kB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.3261, allocations: 3.938 kB / 0.7905 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3262, allocations: 7.938 kB / 0.7905 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.3269, allocations: 107.8 kB / 0.7906 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.327, allocations: 83.7 kB / 0.7907 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3272, allocations: 4 kB / 0.7907 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3273, allocations: 43.78 kB / 0.7907 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.3274, allocations: 35.83 kB / 0.7908 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3275, allocations: 8 kB / 0.7908 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.3277, allocations: 91.84 kB / 0.7909 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.3278, allocations: 15.92 kB / 0.7909 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.3279, allocations: 57.56 kB / 0.7909 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3281, allocations: 108 kB / 0.791 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3281, allocations: 4 kB / 0.791 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3281, allocations: 0 / 0.791 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3282, allocations: 0 / 0.791 GB, free: 8.977 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.000941/0.3291, allocations: 446.7 kB / 0.7915 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3292, allocations: 12.03 kB / 0.7915 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3292, allocations: 8.844 kB / 0.7915 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3294, allocations: 176.2 kB / 0.7917 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.3295, allocations: 8.375 kB / 0.7917 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.3295, allocations: 4.375 kB / 0.7917 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3298, allocations: 81.89 kB / 0.7918 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3298, allocations: 4 kB / 0.7918 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3299, allocations: 0 / 0.7918 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3299, allocations: 0 / 0.7918 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3301, allocations: 47.97 kB / 0.7918 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.3309, allocations: 340.5 kB / 0.7921 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.3311, allocations: 58.56 kB / 0.7922 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3313, allocations: 36.84 kB / 0.7922 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3313, allocations: 7.984 kB / 0.7922 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.3316, allocations: 95.39 kB / 0.7923 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.3316, allocations: 0 / 0.7923 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005799/0.3322, allocations: 165.4 kB / 0.7925 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3323, allocations: 51.41 kB / 0.7925 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3324, allocations: 129.8 kB / 0.7926 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3325, allocations: 29.7 kB / 0.7927 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.3326, allocations: 100.3 kB / 0.7928 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.3326, allocations: 19.95 kB / 0.7928 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.3327, allocations: 21.7 kB / 0.7928 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3329, allocations: 326.7 kB / 0.7931 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.333, allocations: 31.97 kB / 0.7932 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3332, allocations: 67.89 kB / 0.7932 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3334, allocations: 105.1 kB / 0.7933 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3335, allocations: 0 / 0.7933 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003789/0.3339, allocations: 137.4 kB / 0.7934 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.3339, allocations: 4 kB / 0.7935 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3339, allocations: 7.938 kB / 0.7935 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3339, allocations: 0 / 0.7935 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3341, allocations: 20.11 kB / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3341, allocations: 4 kB / 0.7935 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3343, allocations: 19.83 kB / 0.7935 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3343, allocations: 8 kB / 0.7935 GB, free: 6.184 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.000186/0.3345, allocations: 126.4 kB / 0.7936 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3345, allocations: 3.906 kB / 0.7936 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.3349, allocations: 150 kB / 0.7938 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.335, allocations: 4 kB / 0.7938 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.335, allocations: 7.938 kB / 0.7938 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.335, allocations: 0 / 0.7938 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.3357, allocations: 438.3 kB / 0.7942 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3357, allocations: 0 / 0.7942 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.3357, allocations: 8 kB / 0.7942 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3358, allocations: 4 kB / 0.7942 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3358, allocations: 3.984 kB / 0.7942 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3358, allocations: 3.938 kB / 0.7942 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3358, allocations: 3.938 kB / 0.7942 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.3361, allocations: 231.7 kB / 0.7944 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3362, allocations: 96.94 kB / 0.7945 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3362, allocations: 0 / 0.7945 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3363, allocations: 11.98 kB / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.3364, allocations: 20.3 kB / 0.7946 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3364, allocations: 4 kB / 0.7946 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.3365, allocations: 95.27 kB / 0.7947 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0 / 0.7947 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003227/0.3368, allocations: 47.92 kB / 0.7947 GB, free: 4.844 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.0003643/0.3372, allocations: 158.5 kB / 0.7949 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3375, allocations: 95.83 kB / 0.795 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3375, allocations: 0 / 0.795 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3376, allocations: 43.98 kB / 0.795 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3379, allocations: 19.92 kB / 0.795 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.3384, allocations: 261.1 kB / 0.7953 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3388, allocations: 0.6926 MB / 0.7959 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.3389, allocations: 23.42 kB / 0.796 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of SimCode: time 1.914e-06/0.3389, allocations: 4 kB / 0.796 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.004028/0.3429, allocations: 1.81 MB / 0.7977 GB, free: 1.699 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2CalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2CalcHelperMain.o] Error 1