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.000903/0.000903, allocations: 98.97 kB / 15.71 MB, free: 452 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.0009881/0.0009881, allocations: 180.7 kB / 16.58 MB, free: 6.875 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.66/1.66, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.804/1.804, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0006524/0.0006527, allocations: 12.47 kB / 0.6743 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3156, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002038/0.3177, allocations: 1.215 MB / 0.7891 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3193, allocations: 0.7454 MB / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.3194, allocations: 0 / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.3195, allocations: 0 / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.3196, allocations: 15.84 kB / 0.7899 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.3204, allocations: 99.77 kB / 0.7899 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3206, allocations: 75.7 kB / 0.79 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3207, allocations: 12 kB / 0.79 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3208, allocations: 31.91 kB / 0.7901 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.3209, allocations: 39.83 kB / 0.7901 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.321, allocations: 4 kB / 0.7901 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.3212, allocations: 83.84 kB / 0.7902 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.3213, allocations: 11.98 kB / 0.7902 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.3213, allocations: 41.64 kB / 0.7902 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3216, allocations: 100 kB / 0.7903 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.3216, allocations: 4 kB / 0.7903 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3216, allocations: 0 / 0.7903 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3216, allocations: 0 / 0.7903 GB, free: 9.48 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.0009446/0.3226, allocations: 446.5 kB / 0.7908 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.3227, allocations: 12.03 kB / 0.7908 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.3227, allocations: 11.84 kB / 0.7908 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.323, allocations: 178.9 kB / 0.791 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.323, allocations: 7.984 kB / 0.791 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.323, allocations: 4 kB / 0.791 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3232, allocations: 77.59 kB / 0.791 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3233, allocations: 0 / 0.791 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3233, allocations: 0 / 0.791 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3233, allocations: 0 / 0.791 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.3235, allocations: 47.97 kB / 0.7911 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.3241, allocations: 332.6 kB / 0.7914 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3243, allocations: 70.53 kB / 0.7915 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.3244, allocations: 32.84 kB / 0.7915 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.3245, allocations: 4 kB / 0.7915 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.3247, allocations: 99.33 kB / 0.7916 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3247, allocations: 0 / 0.7916 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004656/0.3252, allocations: 161.5 kB / 0.7918 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3253, allocations: 67.36 kB / 0.7918 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3255, allocations: 125.7 kB / 0.7919 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3255, allocations: 33.7 kB / 0.792 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.3256, allocations: 84.38 kB / 0.792 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.3257, allocations: 23.86 kB / 0.7921 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.3257, allocations: 8 kB / 0.7921 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3258, allocations: 318.8 kB / 0.7924 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.3259, allocations: 27.98 kB / 0.7924 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.326, allocations: 69.12 kB / 0.7925 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3262, allocations: 39.92 kB / 0.7925 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3262, allocations: 0 / 0.7925 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002748/0.3265, allocations: 133.4 kB / 0.7926 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3265, allocations: 7.984 kB / 0.7926 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3265, allocations: 0 / 0.7926 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3266, allocations: 4 kB / 0.7927 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3267, allocations: 15.98 kB / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3267, allocations: 8.125 kB / 0.7927 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3268, allocations: 15.89 kB / 0.7927 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3269, allocations: 11.98 kB / 0.7927 GB, free: 6.801 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 ($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.0001489/0.327, allocations: 122.4 kB / 0.7928 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.3271, allocations: 7.844 kB / 0.7928 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.3274, allocations: 153.9 kB / 0.793 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3275, allocations: 4 kB / 0.793 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3275, allocations: 4 kB / 0.793 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3275, allocations: 0 / 0.793 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.3282, allocations: 438.3 kB / 0.7934 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3282, allocations: 0 / 0.7934 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/0.3283, allocations: 11.94 kB / 0.7934 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3283, allocations: 0 / 0.7934 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3283, allocations: 8.359 kB / 0.7934 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.3283, allocations: 3.953 kB / 0.7934 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3283, allocations: 0 / 0.7934 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.3287, allocations: 231.4 kB / 0.7936 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.3287, allocations: 96.88 kB / 0.7937 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3288, allocations: 0 / 0.7937 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3289, allocations: 11.98 kB / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.329, allocations: 15.94 kB / 0.7938 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.329, allocations: 4 kB / 0.7938 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.3291, allocations: 97.77 kB / 0.7939 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3291, allocations: 4 kB / 0.7939 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003666/0.3295, allocations: 47.98 kB / 0.7939 GB, free: 5.461 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 (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.0004916/0.33, allocations: 164.9 kB / 0.7941 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.3302, allocations: 83.91 kB / 0.7941 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3303, allocations: 0 / 0.7941 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3304, allocations: 55.84 kB / 0.7942 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3307, allocations: 15.98 kB / 0.7942 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.3313, allocations: 257 kB / 0.7945 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.3319, allocations: 0.6926 MB / 0.7951 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.332, allocations: 23.42 kB / 0.7952 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.332, allocations: 0 / 0.7952 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.004695/0.3367, allocations: 1.804 MB / 0.7969 GB, free: 2.324 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++ 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_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