Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.53 kB / 16.02 MB, free: 80 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.001239/0.001239, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.331/1.331, allocations: 223.2 MB / 240.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001916/0.001915, allocations: 270.9 kB / 292.3 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004043, allocations: 11.77 kB / 0.5993 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 88.55 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.004965/0.1708, allocations: 3.892 MB / 0.6896 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.1742, allocations: 1.528 MB / 0.6911 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.1752, allocations: 35.81 kB / 0.6911 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.1757, allocations: 118.8 kB / 0.6912 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008562/0.1765, allocations: 180.3 kB / 0.6914 GB, free: 9.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1778, allocations: 0.6205 MB / 0.692 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1789, allocations: 1.14 MB / 0.6931 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.1796, allocations: 488.4 kB / 0.6936 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.18, allocations: 349.8 kB / 0.6939 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1804, allocations: 357.5 kB / 0.6942 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.1804, allocations: 24 kB / 0.6943 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.1805, allocations: 28 kB / 0.6943 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1806, allocations: 139.1 kB / 0.6944 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.1809, allocations: 414.7 kB / 0.6948 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.1815, allocations: 0.8027 MB / 0.6956 GB, free: 5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1816, allocations: 0 / 0.6956 GB, free: 5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1816, allocations: 0 / 0.6956 GB, free: 5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1816, allocations: 0 / 0.6956 GB, free: 5 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002008/0.1836, allocations: 1.253 MB / 0.6968 GB, free: 3.699 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1836, allocations: 8.031 kB / 0.6968 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1838, allocations: 119.5 kB / 0.6969 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1849, allocations: 0.7275 MB / 0.6977 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.841e-05/0.185, allocations: 88.25 kB / 0.6977 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.1851, allocations: 64.38 kB / 0.6978 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1863, allocations: 0.7485 MB / 0.6985 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1864, allocations: 0 / 0.6985 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.1864, allocations: 31.98 kB / 0.6986 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1864, allocations: 19.94 kB / 0.6986 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1875, allocations: 0.5283 MB / 0.6991 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.1907, allocations: 2.298 MB / 0.7013 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.1921, allocations: 0.6348 MB / 0.702 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.1926, allocations: 288.3 kB / 0.7022 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.1926, allocations: 12.5 kB / 0.7023 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006596/0.1933, allocations: 331 kB / 0.7026 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.1933, allocations: 0 / 0.7026 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001566/0.1949, allocations: 0.7673 MB / 0.7033 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.195, allocations: 81.67 kB / 0.7034 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/0.1958, allocations: 0.7633 MB / 0.7041 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.1959, allocations: 41.64 kB / 0.7042 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.1962, allocations: 440.5 kB / 0.7046 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1964, allocations: 205 kB / 0.7048 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.1964, allocations: 65.67 kB / 0.7049 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1966, allocations: 326 kB / 0.7052 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.197, allocations: 209.2 kB / 0.7054 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.1976, allocations: 312.5 kB / 0.7057 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1986, allocations: 0.5153 MB / 0.7062 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1986, allocations: 0 / 0.7062 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001262/0.1999, allocations: 0.6656 MB / 0.7068 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.2, allocations: 163.2 kB / 0.707 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2, allocations: 7.938 kB / 0.707 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2, allocations: 4 kB / 0.707 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.2007, allocations: 143.8 kB / 0.7071 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2007, allocations: 7.984 kB / 0.7071 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.2011, allocations: 71.42 kB / 0.7072 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.2012, allocations: 23.98 kB / 0.7072 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.2012, allocations: 4 kB / 0.7072 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009882/0.2022, allocations: 0.5285 MB / 0.7077 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2022, allocations: 8 kB / 0.7077 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.2022, allocations: 4 kB / 0.7078 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.2028, allocations: 139.8 kB / 0.7079 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.2028, allocations: 4 kB / 0.7079 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.2032, allocations: 79.47 kB / 0.708 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.2032, allocations: 24 kB / 0.708 GB, free: 7.922 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000292/0.2035, allocations: 293.6 kB / 0.7083 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2036, allocations: 94.95 kB / 0.7084 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.2038, allocations: 105.2 kB / 0.7085 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2038, allocations: 8 kB / 0.7085 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.2039, allocations: 3.938 kB / 0.7085 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2039, allocations: 7.938 kB / 0.7085 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.2059, allocations: 1.458 MB / 0.7099 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2059, allocations: 0 / 0.7099 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.2065, allocations: 107.8 kB / 0.71 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2065, allocations: 4 kB / 0.71 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.2065, allocations: 15.94 kB / 0.71 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2065, allocations: 0 / 0.71 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2065, allocations: 4 kB / 0.71 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.2082, allocations: 0.9743 MB / 0.711 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.2084, allocations: 227.6 kB / 0.7112 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.2085, allocations: 12 kB / 0.7112 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.209, allocations: 43.95 kB / 0.7112 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.209, allocations: 36.52 kB / 0.7113 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2091, allocations: 19.98 kB / 0.7113 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005765/0.2097, allocations: 0.5146 MB / 0.7118 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2097, allocations: 0 / 0.7118 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000653/0.2103, allocations: 275.1 kB / 0.7121 GB, free: 3.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001381/0.2105, allocations: 120.8 kB / 0.7122 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.212, allocations: 0.8075 MB / 0.713 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.212, allocations: 0.625 kB / 0.713 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.2125, allocations: 275.1 kB / 0.7132 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2137, allocations: 239.5 kB / 0.7135 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.2163, allocations: 1.981 MB / 0.7154 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.2168, allocations: 0.994 MB / 0.7164 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.217, allocations: 59.44 kB / 0.7164 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.217, allocations: 0 / 0.7164 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.01441/0.2315, allocations: 10.8 MB / 0.727 GB, free: 4.371 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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 OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.o] Error 1