Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_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.00109/0.00109, allocations: 102.6 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.001384/0.001384, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.568/1.568, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 8 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8175, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001675/0.8193, allocations: 1.215 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8204, allocations: 0.7018 MB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.8205, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.8205, allocations: 7.922 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.8206, allocations: 11.88 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.8211, allocations: 95.77 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.8213, allocations: 79.77 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.8214, allocations: 11.98 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.8215, allocations: 35.84 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.8215, allocations: 39.83 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8216, allocations: 4 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.8217, allocations: 79.92 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.8218, allocations: 19.91 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.8218, allocations: 33.64 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.822, allocations: 105.7 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.822, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.822, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.822, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 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.0006928/0.8227, allocations: 458.5 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.8228, allocations: 11.98 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.8228, allocations: 11.91 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.823, allocations: 174.9 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.823, allocations: 7.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.823, allocations: 8 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.8232, allocations: 77.53 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8232, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.8232, allocations: 8 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.8233, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.8234, allocations: 43.97 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.8239, allocations: 312.8 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.8241, allocations: 74.58 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.8242, allocations: 32.84 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.8242, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.8244, allocations: 99.41 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.8244, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003978/0.8249, allocations: 169.5 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.8249, allocations: 51.41 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.825, allocations: 132.6 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.825, allocations: 29.7 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.8251, allocations: 92.38 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.8251, allocations: 27.64 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.8251, allocations: 3.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8253, allocations: 326.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.8254, allocations: 27.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.8255, allocations: 61.52 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/0.8256, allocations: 43.94 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8256, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002355/0.8258, allocations: 129.4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8259, allocations: 12.06 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8259, allocations: 7.984 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8259, allocations: 4.094 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.826, allocations: 15.92 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.826, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.8261, allocations: 23.88 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.8261, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.8263, allocations: 129.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.8263, allocations: 7.906 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.8266, allocations: 149.9 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8266, allocations: 3.938 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8266, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8266, allocations: 3.984 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.8272, allocations: 438.4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8272, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.8273, allocations: 11.98 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8273, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.8273, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8273, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8273, allocations: 4 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.8276, allocations: 247.3 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.8277, allocations: 85.02 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8277, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.8278, allocations: 15.98 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.8279, allocations: 11.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.8279, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.8279, allocations: 99.27 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.828, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003297/0.8283, allocations: 43.98 kB / 1.028 GB, free: 10.6 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: 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 (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.0003634/0.8287, allocations: 166.1 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.8289, allocations: 91.77 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8289, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.829, allocations: 43.98 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.8293, allocations: 22.06 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.8298, allocations: 260.7 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.8301, allocations: 0.7005 MB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.8301, allocations: 15.42 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8301, allocations: 3.938 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of Templates: time 0.003851/0.834, allocations: 1.801 MB / 1.031 GB, free: 7.465 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Occupants.Office.Lighting.Validation.Love1998Light1CalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1CalcHelperMain.o] Error 1