Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009401/0.00094, 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.0009778/0.000978, allocations: 174.6 kB / 16.58 MB, free: 6.355 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.526/1.526, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 12 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7742, allocations: 153.6 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004448/0.7787, allocations: 3.602 MB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.781, allocations: 1.03 MB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.7815, allocations: 19.94 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.7818, allocations: 138.7 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.7822, allocations: 83.31 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.7827, allocations: 231.7 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009145/0.7836, allocations: 0.9678 MB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.7843, allocations: 476.9 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.7846, allocations: 246.4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.7849, allocations: 297.9 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.7849, allocations: 28 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.785, allocations: 28 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.7851, allocations: 139.1 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.7853, allocations: 173.1 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008212/0.7861, allocations: 1.061 MB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.7861, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7861, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7861, allocations: 0 / 1.03 GB, free: 8.598 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001868/0.788, allocations: 1.204 MB / 1.031 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7881, allocations: 15.98 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.7882, allocations: 118.6 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.789, allocations: 0.5509 MB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.789, allocations: 77.98 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.7892, allocations: 100 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7908, allocations: 0.9134 MB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.7908, allocations: 0 / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.7909, allocations: 47.98 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.7909, allocations: 27.94 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.7922, allocations: 0.6793 MB / 1.034 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.7965, allocations: 2.876 MB / 1.036 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.7978, allocations: 0.7261 MB / 1.037 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.7984, allocations: 414.9 kB / 1.038 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.7984, allocations: 12.64 kB / 1.038 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007233/0.7992, allocations: 364.4 kB / 1.038 GB, free: 280 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=74): time 2.945e-06/0.7992, allocations: 0 / 1.038 GB, free: 280 kB / 0.7794 GB Notification: Performance of matching and sorting (n=74): time 0.001605/0.8008, allocations: 0.8874 MB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.8009, allocations: 162.9 kB / 1.039 GB, free: 15.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006729/0.8016, allocations: 0.5942 MB / 1.04 GB, free: 14.58 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.8016, allocations: 41.7 kB / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.802, allocations: 439.9 kB / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.8021, allocations: 248.3 kB / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.8022, allocations: 12 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8024, allocations: 398.7 kB / 1.041 GB, free: 13.44 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.8028, allocations: 249.9 kB / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.8034, allocations: 393.9 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.8039, allocations: 291 kB / 1.042 GB, free: 12.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.804, allocations: 0 / 1.042 GB, free: 12.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00123/0.8052, allocations: 0.7622 MB / 1.042 GB, free: 11.72 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.8053, allocations: 124.4 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8053, allocations: 4 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.8053, allocations: 4 kB / 1.042 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.8059, allocations: 163.8 kB / 1.043 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.806, allocations: 11.94 kB / 1.043 GB, free: 11.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.8063, allocations: 115.2 kB / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.8064, allocations: 27.92 kB / 1.043 GB, free: 11.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/0.8064, allocations: 8 kB / 1.043 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007718/0.8072, allocations: 0.5389 MB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.8072, allocations: 80 / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.8072, allocations: 7.938 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.8077, allocations: 135.8 kB / 1.043 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.8077, allocations: 7.984 kB / 1.043 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.8079, allocations: 87.47 kB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.808, allocations: 24 kB / 1.043 GB, free: 10.46 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003995/0.8084, allocations: 304.9 kB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.8085, allocations: 79.02 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.8087, allocations: 83.73 kB / 1.044 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8087, allocations: 8 kB / 1.044 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.8087, allocations: 0 / 1.044 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.8087, allocations: 7.984 kB / 1.044 GB, free: 9.965 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.8109, allocations: 1.64 MB / 1.046 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8109, allocations: 0 / 1.046 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.8115, allocations: 143.8 kB / 1.046 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.8115, allocations: 4 kB / 1.046 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.8115, allocations: 19.98 kB / 1.046 GB, free: 8.102 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.8116, allocations: 4 kB / 1.046 GB, free: 8.098 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8116, allocations: 4 kB / 1.046 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.8132, allocations: 1.096 MB / 1.047 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.8134, allocations: 164 kB / 1.047 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.8135, allocations: 16 kB / 1.047 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.8138, allocations: 51.97 kB / 1.047 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.8139, allocations: 40.59 kB / 1.047 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.8139, allocations: 27.98 kB / 1.047 GB, free: 6.664 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004659/0.8144, allocations: 407.1 kB / 1.047 GB, free: 6.273 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8144, allocations: 3.938 kB / 1.047 GB, free: 6.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007535/0.8151, allocations: 330.3 kB / 1.048 GB, free: 5.945 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 0.0001897/0.8153, allocations: 127.2 kB / 1.048 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.8169, allocations: 0.9274 MB / 1.049 GB, free: 4.887 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.8169, allocations: 8 kB / 1.049 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.8174, allocations: 327.6 kB / 1.049 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.8182, allocations: 155.5 kB / 1.049 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.8211, allocations: 1.968 MB / 1.051 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.8217, allocations: 1.002 MB / 1.052 GB, free: 1.375 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.8219, allocations: 63.42 kB / 1.052 GB, free: 1.312 MB / 0.795 GB Notification: Performance of SimCode: time 1.112e-06/0.8219, allocations: 0 / 1.052 GB, free: 1.312 MB / 0.795 GB Notification: Performance of Templates: time 0.01583/0.8377, allocations: 9.69 MB / 1.062 GB, free: 7.629 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithResetCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithResetCalcHelperMain.o] Error 1