Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 102.7 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.001044/0.001044, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.496/1.496, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.632/2.632, allocations: 390.4 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8358, allocations: 142.3 MB / 0.9544 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005147/0.841, allocations: 4.615 MB / 0.9589 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.845, allocations: 1.674 MB / 0.9606 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.8463, allocations: 31.25 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.8469, allocations: 181.8 kB / 0.9608 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006163/0.8475, allocations: 127.9 kB / 0.9609 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.8486, allocations: 421.9 kB / 0.9613 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.85, allocations: 1.375 MB / 0.9626 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.8509, allocations: 0.5216 MB / 0.9632 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.8513, allocations: 340.9 kB / 0.9635 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.8518, allocations: 403.9 kB / 0.9639 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.8519, allocations: 37.19 kB / 0.9639 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.852, allocations: 55.3 kB / 0.964 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.8522, allocations: 172.7 kB / 0.9641 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.8524, allocations: 226.7 kB / 0.9643 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.8536, allocations: 1.422 MB / 0.9657 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.8537, allocations: 5.156 kB / 0.9657 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8537, allocations: 0 / 0.9657 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.8537, allocations: 0 / 0.9657 GB, free: 15.31 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002779/0.8565, allocations: 1.522 MB / 0.9672 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.8565, allocations: 8.531 kB / 0.9672 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.8568, allocations: 156.3 kB / 0.9674 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.858, allocations: 0.7044 MB / 0.9681 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-05/0.8581, allocations: 89.19 kB / 0.9681 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.8583, allocations: 118.3 kB / 0.9683 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.8605, allocations: 1.099 MB / 0.9693 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.8605, allocations: 0 / 0.9693 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.8606, allocations: 51.23 kB / 0.9694 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.8606, allocations: 26.88 kB / 0.9694 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.8625, allocations: 0.8524 MB / 0.9702 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00594/0.8685, allocations: 3.942 MB / 0.9741 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.8707, allocations: 1.027 MB / 0.9751 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/0.8716, allocations: 476.3 kB / 0.9755 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.8717, allocations: 17.97 kB / 0.9756 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009883/0.8727, allocations: 437.7 kB / 0.976 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 3.647e-06/0.8727, allocations: 3.938 kB / 0.976 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.002612/0.8753, allocations: 1.097 MB / 0.9771 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.8754, allocations: 217.1 kB / 0.9773 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.8768, allocations: 0.8592 MB / 0.9781 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.8769, allocations: 44.17 kB / 0.9781 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.8774, allocations: 0.5549 MB / 0.9787 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.8777, allocations: 281.9 kB / 0.979 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.8777, allocations: 21.28 kB / 0.979 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8779, allocations: 337 kB / 0.9793 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.8787, allocations: 361.6 kB / 0.9796 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/0.8796, allocations: 0.5997 MB / 0.9802 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007957/0.8804, allocations: 436.5 kB / 0.9806 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8804, allocations: 0 / 0.9806 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002017/0.8825, allocations: 1.095 MB / 0.9817 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.8827, allocations: 258.2 kB / 0.982 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8827, allocations: 7.938 kB / 0.982 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.8827, allocations: 8 kB / 0.982 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.8835, allocations: 215.7 kB / 0.9822 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.8835, allocations: 11.98 kB / 0.9822 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.8843, allocations: 202.9 kB / 0.9824 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.8844, allocations: 32 kB / 0.9824 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.8844, allocations: 5.406 kB / 0.9824 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00121/0.8856, allocations: 0.8135 MB / 0.9832 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8856, allocations: 4 kB / 0.9832 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8857, allocations: 16.56 kB / 0.9832 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.8862, allocations: 167.8 kB / 0.9834 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.8862, allocations: 15.94 kB / 0.9834 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.8869, allocations: 159 kB / 0.9836 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.887, allocations: 39.98 kB / 0.9836 GB, free: 1.613 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0005712/0.8876, allocations: 344.9 kB / 0.9839 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.8877, allocations: 114.6 kB / 0.984 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.8879, allocations: 106.9 kB / 0.9841 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.8879, allocations: 8 kB / 0.9841 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.8879, allocations: 4 kB / 0.9841 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.888, allocations: 7.984 kB / 0.9842 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.8892, allocations: 0.9826 MB / 0.9851 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8892, allocations: 0 / 0.9851 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.8898, allocations: 167.7 kB / 0.9853 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.8898, allocations: 8 kB / 0.9853 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.8899, allocations: 19.98 kB / 0.9853 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.8899, allocations: 4 kB / 0.9853 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8899, allocations: 0 / 0.9853 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.8921, allocations: 1.261 MB / 0.9865 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.8923, allocations: 195.5 kB / 0.9867 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.8924, allocations: 16 kB / 0.9867 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.8928, allocations: 71.95 kB / 0.9868 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.8929, allocations: 52.86 kB / 0.9869 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.8929, allocations: 24 kB / 0.9869 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007293/0.8936, allocations: 0.575 MB / 0.9874 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8936, allocations: 0 / 0.9874 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001035/0.8947, allocations: 410.3 kB / 0.9878 GB, free: 13.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002639/0.895, allocations: 134.9 kB / 0.988 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.8973, allocations: 1.393 MB / 0.9893 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8974, allocations: 0 / 0.9893 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/0.898, allocations: 406 kB / 0.9897 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.8991, allocations: 234.8 kB / 0.9899 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.9023, allocations: 2.307 MB / 0.9922 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.903, allocations: 1.074 MB / 0.9932 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.9033, allocations: 91.41 kB / 0.9933 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of SimCode: time 1.383e-06/0.9033, allocations: 0 / 0.9933 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of Templates: time 0.02167/0.925, allocations: 13.19 MB / 1.006 GB, free: 10.29 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDCalcHelperMain.o] Error 1