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.001159/0.001159, allocations: 102.8 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.00153/0.001531, allocations: 178.1 kB / 16.58 MB, free: 6.402 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.809/1.809, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.792/1.792, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0006008/0.0006008, allocations: 16.16 kB / 0.6744 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3245, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.00283/0.3273, allocations: 1.66 MB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.3301, allocations: 1.62 MB / 0.7912 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.3304, allocations: 8 kB / 0.7912 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.3306, allocations: 59.38 kB / 0.7912 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.3309, allocations: 67.5 kB / 0.7913 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.3318, allocations: 305.7 kB / 0.7916 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.3325, allocations: 0.649 MB / 0.7922 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.3329, allocations: 250.6 kB / 0.7924 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.3331, allocations: 195.1 kB / 0.7926 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3334, allocations: 218.7 kB / 0.7928 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.3335, allocations: 24 kB / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3336, allocations: 31.98 kB / 0.7929 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.3337, allocations: 83.55 kB / 0.793 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3339, allocations: 117.4 kB / 0.7931 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.3346, allocations: 0.6625 MB / 0.7937 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3346, allocations: 4 kB / 0.7937 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3346, allocations: 0 / 0.7937 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3346, allocations: 0 / 0.7937 GB, free: 5.977 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.001615/0.3362, allocations: 0.8891 MB / 0.7946 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3363, allocations: 8.031 kB / 0.7946 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.3364, allocations: 75.16 kB / 0.7947 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.337, allocations: 425.8 kB / 0.7951 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.3371, allocations: 44.94 kB / 0.7951 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3372, allocations: 63.98 kB / 0.7952 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.3381, allocations: 499 kB / 0.7957 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3381, allocations: 0 / 0.7957 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.3381, allocations: 20 kB / 0.7957 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3382, allocations: 12 kB / 0.7957 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.3388, allocations: 355.8 kB / 0.796 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.3416, allocations: 1.589 MB / 0.7976 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.3426, allocations: 0.9009 MB / 0.7985 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.343, allocations: 228.6 kB / 0.7987 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.3431, allocations: 4 kB / 0.7987 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.3436, allocations: 268.9 kB / 0.7989 GB, free: 332 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.3436, allocations: 0 / 0.7989 GB, free: 332 kB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001206/0.3448, allocations: 0.5493 MB / 0.7995 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.3449, allocations: 111.2 kB / 0.7996 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.3456, allocations: 413.9 kB / 0.8 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.3456, allocations: 41.7 kB / 0.8 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3459, allocations: 265 kB / 0.8003 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3461, allocations: 145.8 kB / 0.8004 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3461, allocations: 12 kB / 0.8004 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3463, allocations: 362.8 kB / 0.8008 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.3467, allocations: 197 kB / 0.801 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.3473, allocations: 291.3 kB / 0.8012 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.3477, allocations: 272.1 kB / 0.8015 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3477, allocations: 0 / 0.8015 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001112/0.3488, allocations: 0.6316 MB / 0.8021 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.349, allocations: 207.2 kB / 0.8023 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.349, allocations: 4 kB / 0.8023 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.349, allocations: 4 kB / 0.8023 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.3494, allocations: 91.83 kB / 0.8024 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3494, allocations: 0 / 0.8024 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.35, allocations: 135.5 kB / 0.8025 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.3501, allocations: 27.98 kB / 0.8026 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.3501, allocations: 4 kB / 0.8026 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008488/0.3509, allocations: 0.5289 MB / 0.8031 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.351, allocations: 0 / 0.8031 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-06/0.351, allocations: 4 kB / 0.8031 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3512, allocations: 71.91 kB / 0.8032 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3513, allocations: 8.156 kB / 0.8032 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.3517, allocations: 123.4 kB / 0.8033 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.3517, allocations: 23.98 kB / 0.8033 GB, free: 11.69 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,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002833/0.352, allocations: 257.9 kB / 0.8036 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.3521, allocations: 47.44 kB / 0.8036 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3522, allocations: 53.17 kB / 0.8036 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3522, allocations: 4 kB / 0.8037 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3523, allocations: 8 kB / 0.8037 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3523, allocations: 3.953 kB / 0.8037 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3538, allocations: 1.087 MB / 0.8047 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3538, allocations: 4 kB / 0.8047 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.3541, allocations: 75.89 kB / 0.8048 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3541, allocations: 0 / 0.8048 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.3542, allocations: 23.94 kB / 0.8048 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3542, allocations: 7.938 kB / 0.8048 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3542, allocations: 0 / 0.8048 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3553, allocations: 0.7052 MB / 0.8055 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.3555, allocations: 124.5 kB / 0.8056 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.3556, allocations: 19.92 kB / 0.8057 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3558, allocations: 31.94 kB / 0.8057 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.3559, allocations: 28.39 kB / 0.8057 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3559, allocations: 16 kB / 0.8057 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003212/0.3562, allocations: 291.1 kB / 0.806 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.806 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007235/0.357, allocations: 215.2 kB / 0.8062 GB, free: 8.609 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 (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.000258/0.3572, allocations: 124 kB / 0.8063 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.3587, allocations: 0.95 MB / 0.8073 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3587, allocations: 0 / 0.8073 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.359, allocations: 198.4 kB / 0.8074 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.3597, allocations: 106 kB / 0.8076 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.3616, allocations: 1.149 MB / 0.8087 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.3623, allocations: 0.8593 MB / 0.8095 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3624, allocations: 47.42 kB / 0.8096 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.3624, allocations: 0 / 0.8096 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of Templates: time 0.01116/0.3736, allocations: 6.362 MB / 0.8158 GB, free: 14.72 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++ 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_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