Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009572/0.0009567, allocations: 92.16 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.001278/0.001278, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.953/1.953, allocations: 292.7 MB / 0.5509 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007851/0.0007855, allocations: 22.03 kB / 0.675 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3299, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002725/0.3327, allocations: 1.783 MB / 0.7903 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3355, allocations: 1.674 MB / 0.7919 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.3357, allocations: 8 kB / 0.7919 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.336, allocations: 63.38 kB / 0.792 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.3363, allocations: 67.48 kB / 0.7921 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/0.3371, allocations: 370.7 kB / 0.7924 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.3378, allocations: 0.6957 MB / 0.7931 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.3383, allocations: 301.3 kB / 0.7934 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.3386, allocations: 206.9 kB / 0.7936 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3389, allocations: 222.6 kB / 0.7938 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.339, allocations: 24 kB / 0.7938 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3391, allocations: 35.98 kB / 0.7939 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.3392, allocations: 87.48 kB / 0.7939 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.3394, allocations: 280 kB / 0.7942 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.3401, allocations: 0.6625 MB / 0.7948 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3401, allocations: 0 / 0.7948 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3401, allocations: 0 / 0.7948 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3401, allocations: 0 / 0.7948 GB, free: 5.086 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001509/0.3416, allocations: 0.8737 MB / 0.7957 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3417, allocations: 15.97 kB / 0.7957 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3418, allocations: 80.08 kB / 0.7958 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.3424, allocations: 434.9 kB / 0.7962 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.3425, allocations: 41.38 kB / 0.7962 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3426, allocations: 68.31 kB / 0.7963 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008641/0.3435, allocations: 0.4917 MB / 0.7968 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3435, allocations: 192 / 0.7968 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.3436, allocations: 23.94 kB / 0.7968 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3436, allocations: 12 kB / 0.7968 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.3443, allocations: 363.8 kB / 0.7972 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.3465, allocations: 1.593 MB / 0.7987 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3476, allocations: 0.8888 MB / 0.7996 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.348, allocations: 229.9 kB / 0.7998 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.348, allocations: 11.94 kB / 0.7998 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/0.3486, allocations: 260.8 kB / 0.8001 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.3486, allocations: 4 kB / 0.8001 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.001073/0.3497, allocations: 0.5571 MB / 0.8006 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.3497, allocations: 111.2 kB / 0.8007 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.3502, allocations: 413.9 kB / 0.8011 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.3503, allocations: 37.7 kB / 0.8012 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.3505, allocations: 265 kB / 0.8014 GB, free: 14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.3506, allocations: 153.8 kB / 0.8016 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.3507, allocations: 57.69 kB / 0.8016 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3509, allocations: 354.8 kB / 0.802 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.3513, allocations: 197 kB / 0.8021 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.3517, allocations: 295.4 kB / 0.8024 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.3525, allocations: 477.5 kB / 0.8029 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3525, allocations: 4 kB / 0.8029 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001072/0.3536, allocations: 0.6395 MB / 0.8035 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.3537, allocations: 195.3 kB / 0.8037 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3538, allocations: 4 kB / 0.8037 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3538, allocations: 4 kB / 0.8037 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3541, allocations: 91.83 kB / 0.8038 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3542, allocations: 7.938 kB / 0.8038 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.3547, allocations: 138.4 kB / 0.8039 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.3548, allocations: 27.98 kB / 0.804 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/0.3548, allocations: 4 kB / 0.804 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008102/0.3556, allocations: 0.5328 MB / 0.8045 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3556, allocations: 3.938 kB / 0.8045 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.3556, allocations: 4 kB / 0.8045 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.3559, allocations: 75.91 kB / 0.8046 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3559, allocations: 4 kB / 0.8046 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.3564, allocations: 123.8 kB / 0.8047 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.3565, allocations: 27.98 kB / 0.8047 GB, free: 10.47 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002552/0.3567, allocations: 257 kB / 0.805 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.3568, allocations: 55.36 kB / 0.805 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.3569, allocations: 53.17 kB / 0.8051 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.357, allocations: 8 kB / 0.8051 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.357, allocations: 0 / 0.8051 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.357, allocations: 7.984 kB / 0.8051 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.3585, allocations: 1.084 MB / 0.8061 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.3585, allocations: 3.984 kB / 0.8061 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.3588, allocations: 75.91 kB / 0.8062 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3588, allocations: 0 / 0.8062 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3588, allocations: 19.98 kB / 0.8062 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3588, allocations: 0 / 0.8062 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3589, allocations: 4 kB / 0.8062 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.36, allocations: 0.7245 MB / 0.8069 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3601, allocations: 128.5 kB / 0.8071 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.3601, allocations: 12 kB / 0.8071 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3603, allocations: 27.98 kB / 0.8071 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.3604, allocations: 28.39 kB / 0.8071 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3605, allocations: 16 kB / 0.8071 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003029/0.3608, allocations: 291.1 kB / 0.8074 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3608, allocations: 0 / 0.8074 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005738/0.3613, allocations: 215.2 kB / 0.8076 GB, free: 7.383 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002242/0.3616, allocations: 129.4 kB / 0.8077 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.363, allocations: 0.9583 MB / 0.8087 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.363, allocations: 0 / 0.8087 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.3633, allocations: 206.4 kB / 0.8089 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.364, allocations: 89.5 kB / 0.809 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3658, allocations: 1.2 MB / 0.8101 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.3663, allocations: 0.8554 MB / 0.811 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3664, allocations: 43.42 kB / 0.811 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of SimCode: time 1.703e-06/0.3664, allocations: 0 / 0.811 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of Templates: time 0.009651/0.3761, allocations: 6.357 MB / 0.8172 GB, free: 13.46 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScaleCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScaleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScaleCalcHelperMain.o] Error 1