Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01133/0.01133, allocations: 100 kB / 15.87 MB, free: 5.863 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.002335/0.002335, allocations: 189.7 kB / 16.79 MB, free: 5.805 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.649/1.649, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.794/1.794, allocations: 292.3 MB / 0.5491 GB, free: 13.61 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.001427/0.001427, allocations: 61.28 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3263, allocations: 114.5 MB / 0.7833 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00371/0.3301, allocations: 1.408 MB / 0.7847 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3313, allocations: 372.9 kB / 0.785 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.3313, allocations: 0 / 0.785 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.3315, allocations: 3.938 kB / 0.7851 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.3316, allocations: 3.984 kB / 0.7851 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.3321, allocations: 75.86 kB / 0.7851 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3322, allocations: 43.86 kB / 0.7852 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.167e-05/0.3323, allocations: 7.938 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.3324, allocations: 19.97 kB / 0.7852 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3324, allocations: 15.92 kB / 0.7852 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3325, allocations: 4 kB / 0.7852 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.3327, allocations: 79.91 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.3328, allocations: 19.92 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.525e-05/0.3329, allocations: 51.67 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.3331, allocations: 111.8 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.3331, allocations: 8 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3331, allocations: 0 / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3332, allocations: 0 / 0.7855 GB, free: 11.74 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008548/0.334, allocations: 0.5048 MB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.3341, allocations: 12.03 kB / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.3343, allocations: 20.69 kB / 0.786 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3344, allocations: 172.2 kB / 0.7862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3345, allocations: 8.375 kB / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3345, allocations: 8.312 kB / 0.7862 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.3348, allocations: 245.9 kB / 0.7864 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3349, allocations: 192 / 0.7864 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3349, allocations: 7.938 kB / 0.7864 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3349, allocations: 0 / 0.7864 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3351, allocations: 144 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.3353, allocations: 189.5 kB / 0.7867 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.3358, allocations: 0.5337 MB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.3362, allocations: 0.5242 MB / 0.7878 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.3362, allocations: 4 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.3367, allocations: 399.6 kB / 0.7882 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.3367, allocations: 0 / 0.7882 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.0007663/0.3374, allocations: 0.6889 MB / 0.7888 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.3375, allocations: 109.1 kB / 0.7889 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.3376, allocations: 101.8 kB / 0.789 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3376, allocations: 29.64 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.3377, allocations: 84.83 kB / 0.7891 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.3378, allocations: 78.91 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.3378, allocations: 37.7 kB / 0.7893 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.338, allocations: 326.8 kB / 0.7896 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3381, allocations: 79.97 kB / 0.7896 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.3382, allocations: 87.91 kB / 0.7897 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3385, allocations: 349.4 kB / 0.7901 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3385, allocations: 0 / 0.7901 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003435/0.3388, allocations: 340.2 kB / 0.7904 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/0.3389, allocations: 81.58 kB / 0.7905 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3389, allocations: 0 / 0.7905 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.339, allocations: 3.938 kB / 0.7905 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.339, allocations: 4 kB / 0.7905 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3391, allocations: 0 / 0.7905 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3392, allocations: 27.75 kB / 0.7905 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3392, allocations: 8 kB / 0.7905 GB, free: 6.305 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002678/0.3395, allocations: 262.8 kB / 0.7908 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3395, allocations: 27.75 kB / 0.7908 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.3395, allocations: 13.2 kB / 0.7908 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3396, allocations: 4 kB / 0.7908 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3396, allocations: 0 / 0.7908 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3396, allocations: 0 / 0.7908 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3398, allocations: 245.4 kB / 0.791 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3398, allocations: 3.938 kB / 0.791 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3398, allocations: 0 / 0.791 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3398, allocations: 3.938 kB / 0.791 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.3398, allocations: 19.97 kB / 0.7911 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3398, allocations: 0 / 0.7911 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3398, allocations: 0 / 0.7911 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.3411, allocations: 1.287 MB / 0.7923 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.3412, allocations: 88.95 kB / 0.7924 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3413, allocations: 75.88 kB / 0.7925 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.3414, allocations: 8 kB / 0.7925 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.3414, allocations: 8 kB / 0.7925 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.3415, allocations: 11.98 kB / 0.7925 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.3415, allocations: 83.47 kB / 0.7926 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3415, allocations: 4.031 kB / 0.7926 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002965/0.3418, allocations: 71.98 kB / 0.7926 GB, free: 4.004 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004522/0.3423, allocations: 241.5 kB / 0.7929 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.3439, allocations: 1.96 MB / 0.7948 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3439, allocations: 0 / 0.7948 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.3453, allocations: 2.015 MB / 0.7968 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3456, allocations: 20.12 kB / 0.7968 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.3463, allocations: 406.6 kB / 0.7972 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3467, allocations: 0.7169 MB / 0.7979 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.3467, allocations: 7.438 kB / 0.7979 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.3467, allocations: 0 / 0.7979 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.004813/0.3515, allocations: 2.43 MB / 0.8002 GB, free: 12.14 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o] Error 1