Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.Controls.OBC.CDL.Reals.Validation.PIDWithReset,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.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,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.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.98 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.001323/0.001323, allocations: 177.1 kB / 16.58 MB, free: 6.422 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.483/1.483, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004178, allocations: 12 kB / 0.8717 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.8124, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005186/0.8177, allocations: 2.626 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.8223, allocations: 1.66 MB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008975/0.8232, allocations: 19.94 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.8236, allocations: 118.8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.824, allocations: 75.38 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.8247, allocations: 223.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009589/0.8256, allocations: 0.9324 MB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.8263, allocations: 453.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.8266, allocations: 242.6 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.8269, allocations: 294 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.827, allocations: 28 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.8271, allocations: 24 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.8272, allocations: 135.2 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.8273, allocations: 165.1 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.8282, allocations: 0.9564 MB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8282, allocations: 0 / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8282, allocations: 4 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8282, allocations: 0 / 1.029 GB, free: 9.141 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002002/0.8303, allocations: 1.157 MB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8303, allocations: 11.98 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.8305, allocations: 118.6 kB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.8312, allocations: 0.5238 MB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.8313, allocations: 70 kB / 1.031 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.8314, allocations: 95.98 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.8331, allocations: 0.9017 MB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.8331, allocations: 0 / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.8332, allocations: 36 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.8332, allocations: 20 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.8345, allocations: 0.6481 MB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.8388, allocations: 2.861 MB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.8406, allocations: 1.334 MB / 1.037 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.8412, allocations: 414 kB / 1.037 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.8413, allocations: 8.656 kB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007421/0.842, allocations: 376.3 kB / 1.038 GB, free: 228 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=74): time 3.125e-06/0.8421, allocations: 4 kB / 1.038 GB, free: 224 kB / 0.7794 GB Notification: Performance of matching and sorting (n=74): time 0.001694/0.8438, allocations: 0.8639 MB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.8439, allocations: 162.9 kB / 1.039 GB, free: 15.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.8446, allocations: 0.5538 MB / 1.039 GB, free: 14.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.8447, allocations: 41.7 kB / 1.039 GB, free: 14.54 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.845, allocations: 396.2 kB / 1.04 GB, free: 14.15 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.8453, allocations: 264.2 kB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.8453, allocations: 12 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.8455, allocations: 378.8 kB / 1.04 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.8461, allocations: 249.9 kB / 1.041 GB, free: 13.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.8467, allocations: 369.1 kB / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.8472, allocations: 291 kB / 1.041 GB, free: 12.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8473, allocations: 7.938 kB / 1.041 GB, free: 12.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001321/0.8486, allocations: 0.7154 MB / 1.042 GB, free: 11.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/0.8487, allocations: 123.6 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8487, allocations: 0 / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.8487, allocations: 4 kB / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.8494, allocations: 163.8 kB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.8494, allocations: 7.938 kB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.8498, allocations: 119.2 kB / 1.042 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.8499, allocations: 24 kB / 1.042 GB, free: 11.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.8499, allocations: 4 kB / 1.042 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008789/0.8508, allocations: 0.5193 MB / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.8508, allocations: 0 / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.8508, allocations: 4 kB / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.8513, allocations: 131.8 kB / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.8513, allocations: 8.031 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.8516, allocations: 91.3 kB / 1.043 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.8516, allocations: 24 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0004031/0.852, allocations: 296.9 kB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.8521, allocations: 71.06 kB / 1.044 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.8534, allocations: 0.6808 MB / 1.044 GB, free: 9.559 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.8534, allocations: 4 kB / 1.044 GB, free: 9.555 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8534, allocations: 4 kB / 1.044 GB, free: 9.551 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.8534, allocations: 7.938 kB / 1.044 GB, free: 9.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.856, allocations: 1.727 MB / 1.046 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.856, allocations: 0 / 1.046 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.8566, allocations: 148 kB / 1.046 GB, free: 7.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.8566, allocations: 4 kB / 1.046 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.8566, allocations: 19.98 kB / 1.046 GB, free: 7.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.8566, allocations: 4 kB / 1.046 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8567, allocations: 0 / 1.046 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.8584, allocations: 1.116 MB / 1.047 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.8585, allocations: 160 kB / 1.047 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.8586, allocations: 16 kB / 1.047 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.8589, allocations: 55.95 kB / 1.047 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.859, allocations: 48.53 kB / 1.047 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.8591, allocations: 28 kB / 1.047 GB, free: 6.098 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004719/0.8595, allocations: 390.8 kB / 1.048 GB, free: 5.719 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8596, allocations: 0 / 1.048 GB, free: 5.719 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007673/0.8603, allocations: 314.5 kB / 1.048 GB, free: 5.41 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0002048/0.8605, allocations: 127.1 kB / 1.048 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.8623, allocations: 0.9029 MB / 1.049 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8623, allocations: 3.938 kB / 1.049 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/0.8629, allocations: 327.2 kB / 1.049 GB, free: 4.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.8638, allocations: 152.6 kB / 1.05 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.8666, allocations: 1.886 MB / 1.051 GB, free: 1.961 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.8672, allocations: 0.9742 MB / 1.052 GB, free: 0.957 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.8674, allocations: 63.42 kB / 1.052 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of SimCode: time 7.11e-07/0.8674, allocations: 0 / 1.052 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of Templates: time 0.015/0.8825, allocations: 8.978 MB / 1.061 GB, free: 7.91 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.Controls.OBC.CDL.Reals.Validation.PIDWithResetCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetCalcHelperMain.o] Error 1