Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, 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.001258/0.001258, allocations: 171.3 kB / 16.58 MB, free: 6.383 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.439/1.439, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00188/0.00188, allocations: 267 kB / 292 MB, free: 2.008 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8581/0.8581, allocations: 144.7 MB / 487.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 11.66 kB / 0.5691 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 83.09 MB / 0.6502 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.001829/0.188, allocations: 1.214 MB / 0.6514 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006714/0.1887, allocations: 418.7 kB / 0.6518 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.1888, allocations: 0 / 0.6518 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1888, allocations: 0 / 0.6518 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.1889, allocations: 7.938 kB / 0.6518 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1891, allocations: 19.97 kB / 0.6518 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.1892, allocations: 35.86 kB / 0.6519 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1893, allocations: 13.39 kB / 0.6519 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1894, allocations: 19.92 kB / 0.6519 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1894, allocations: 16.48 kB / 0.6519 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1895, allocations: 8.547 kB / 0.6519 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.1895, allocations: 0.6562 kB / 0.6519 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1895, allocations: 3.938 kB / 0.6519 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1896, allocations: 34.45 kB / 0.652 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.001e-05/0.1896, allocations: 27.94 kB / 0.652 GB, free: 1.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1896, allocations: 0.6562 kB / 0.652 GB, free: 1.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1896, allocations: 0 / 0.652 GB, free: 1.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1897, allocations: 0.6562 kB / 0.652 GB, free: 1.801 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000522/0.1902, allocations: 365.2 kB / 0.6523 GB, free: 1.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1902, allocations: 8.031 kB / 0.6523 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1903, allocations: 4.656 kB / 0.6524 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1904, allocations: 175.6 kB / 0.6525 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1905, allocations: 11.94 kB / 0.6525 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1905, allocations: 4.5 kB / 0.6525 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1907, allocations: 64.48 kB / 0.6526 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1907, allocations: 0 / 0.6526 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1907, allocations: 0 / 0.6526 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1907, allocations: 0 / 0.6526 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1909, allocations: 53.05 kB / 0.6526 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1914, allocations: 298.7 kB / 0.6529 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1917, allocations: 73.81 kB / 0.653 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.1918, allocations: 30.25 kB / 0.653 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1918, allocations: 0 / 0.653 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1919, allocations: 39.25 kB / 0.6531 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1919, allocations: 0.8125 kB / 0.6531 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003569/0.1922, allocations: 97.47 kB / 0.6532 GB, free: 460 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1923, allocations: 55.41 kB / 0.6532 GB, free: 392 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1924, allocations: 117.8 kB / 0.6533 GB, free: 264 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1924, allocations: 25.7 kB / 0.6534 GB, free: 232 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1925, allocations: 92.77 kB / 0.6534 GB, free: 136 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.1925, allocations: 12.62 kB / 0.6535 GB, free: 124 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.1925, allocations: 4 kB / 0.6535 GB, free: 120 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1927, allocations: 324.9 kB / 0.6538 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.1928, allocations: 15.98 kB / 0.6538 GB, free: 15.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.1928, allocations: 24.64 kB / 0.6538 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.1929, allocations: 25.92 kB / 0.6538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1929, allocations: 0 / 0.6538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/0.1931, allocations: 82.59 kB / 0.6539 GB, free: 15.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1932, allocations: 4 kB / 0.6539 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1932, allocations: 0 / 0.6539 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1932, allocations: 4 kB / 0.6539 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.1933, allocations: 11.98 kB / 0.6539 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1933, allocations: 0 / 0.6539 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.1934, allocations: 11.89 kB / 0.6539 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1934, allocations: 1.062 kB / 0.6539 GB, free: 15.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.152e-05/0.1935, allocations: 123.1 kB / 0.6541 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1935, allocations: 7.938 kB / 0.6541 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.1935, allocations: 3.906 kB / 0.6541 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1935, allocations: 0 / 0.6541 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1936, allocations: 0 / 0.6541 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1936, allocations: 4 kB / 0.6541 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1938, allocations: 177.6 kB / 0.6542 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1938, allocations: 3.938 kB / 0.6542 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.1939, allocations: 15.98 kB / 0.6543 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1939, allocations: 0 / 0.6543 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1939, allocations: 4 kB / 0.6543 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1939, allocations: 7.938 kB / 0.6543 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1939, allocations: 0 / 0.6543 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1942, allocations: 175.4 kB / 0.6544 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1942, allocations: 81.11 kB / 0.6545 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1942, allocations: 4 kB / 0.6545 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.1943, allocations: 4 kB / 0.6545 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1944, allocations: 3.984 kB / 0.6545 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1944, allocations: 0 / 0.6545 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.1944, allocations: 99.7 kB / 0.6546 GB, free: 14.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1944, allocations: 0 / 0.6546 GB, free: 14.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1947, allocations: 7.906 kB / 0.6546 GB, free: 14.81 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 9.27e-05/0.1948, allocations: 103.2 kB / 0.6547 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.195, allocations: 47.97 kB / 0.6548 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.195, allocations: 0 / 0.6548 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.1951, allocations: 23.98 kB / 0.6548 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1954, allocations: 9.969 kB / 0.6548 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.1958, allocations: 194.2 kB / 0.655 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1961, allocations: 0.6848 MB / 0.6557 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1961, allocations: 11.44 kB / 0.6557 GB, free: 13.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1961, allocations: 0 / 0.6557 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Templates: time 0.002239/0.1984, allocations: 0.7121 MB / 0.6564 GB, free: 12.97 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.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 OMCppBuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEqualityCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEqualityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEqualityCalcHelperMain.o] Error 1