Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 100.6 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.001454/0.001454, allocations: 175.7 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.551/1.551, 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 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.5 MB / 0.6662 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 12 kB / 0.8155 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8561, allocations: 142.3 MB / 0.9544 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003405/0.8596, allocations: 2.611 MB / 0.957 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00398/0.8636, allocations: 1.668 MB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00073/0.8644, allocations: 18.5 kB / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.8648, allocations: 108.5 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.865, allocations: 84.23 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.8657, allocations: 230.2 kB / 0.959 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009693/0.8667, allocations: 0.9269 MB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006977/0.8674, allocations: 455.5 kB / 0.9604 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.8676, allocations: 242.2 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.8679, allocations: 295.1 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.868, allocations: 26.12 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.883e-05/0.8681, allocations: 26.12 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.8682, allocations: 129.5 kB / 0.9611 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.8683, allocations: 163.8 kB / 0.9612 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.869, allocations: 0.959 MB / 0.9622 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.869, allocations: 1.062 kB / 0.9622 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.869, allocations: 0 / 0.9622 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.869, allocations: 0 / 0.9622 GB, free: 2.223 MB / 0.7169 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.00183/0.8709, allocations: 1.151 MB / 0.9633 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8709, allocations: 9.312 kB / 0.9633 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.8711, allocations: 123.8 kB / 0.9634 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.8718, allocations: 0.5262 MB / 0.9639 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.8719, allocations: 77.03 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.8721, allocations: 98.25 kB / 0.9641 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.8739, allocations: 0.8827 MB / 0.965 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.8739, allocations: 1.125 kB / 0.965 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.874, allocations: 40.58 kB / 0.965 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.874, allocations: 22.66 kB / 0.965 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.8754, allocations: 0.6535 MB / 0.9657 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.8802, allocations: 2.848 MB / 0.9684 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.8821, allocations: 1.35 MB / 0.9698 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.8828, allocations: 409 kB / 0.9701 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.8829, allocations: 15.64 kB / 0.9702 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007548/0.8837, allocations: 361.9 kB / 0.9705 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 3.476e-06/0.8837, allocations: 0 / 0.9705 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001991/0.8857, allocations: 0.8658 MB / 0.9713 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.8858, allocations: 162.7 kB / 0.9715 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.8867, allocations: 0.5591 MB / 0.972 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.8867, allocations: 45.27 kB / 0.9721 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.8871, allocations: 398 kB / 0.9725 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.8874, allocations: 248.2 kB / 0.9727 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.8874, allocations: 15.25 kB / 0.9727 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000288/0.8877, allocations: 382.5 kB / 0.9731 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007228/0.8884, allocations: 247.2 kB / 0.9733 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.8892, allocations: 379.8 kB / 0.9737 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.8899, allocations: 283.7 kB / 0.974 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8899, allocations: 1.094 kB / 0.974 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001674/0.8916, allocations: 0.7318 MB / 0.9747 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.8917, allocations: 113.9 kB / 0.9748 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.8917, allocations: 5.469 kB / 0.9748 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.8917, allocations: 3.719 kB / 0.9748 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.8924, allocations: 169.6 kB / 0.975 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.8924, allocations: 2.844 kB / 0.975 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.8928, allocations: 115.6 kB / 0.9751 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.8929, allocations: 23.83 kB / 0.9751 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-06/0.8929, allocations: 4.125 kB / 0.9751 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000965/0.8939, allocations: 0.5163 MB / 0.9756 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.8939, allocations: 1.312 kB / 0.9756 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.8939, allocations: 8.219 kB / 0.9756 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.8944, allocations: 138.2 kB / 0.9757 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8944, allocations: 7.781 kB / 0.9757 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.8948, allocations: 85.22 kB / 0.9758 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.8948, allocations: 19.81 kB / 0.9758 GB, free: 8.863 MB / 0.7325 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.0004796/0.8953, allocations: 296.5 kB / 0.9761 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.8954, allocations: 77.14 kB / 0.9762 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.8968, allocations: 0.6732 MB / 0.9769 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.8969, allocations: 12.53 kB / 0.9769 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8969, allocations: 0 / 0.9769 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.8969, allocations: 3.984 kB / 0.9769 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.8997, allocations: 1.724 MB / 0.9786 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.8998, allocations: 3 kB / 0.9786 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.9003, allocations: 144.1 kB / 0.9787 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.9004, allocations: 11.89 kB / 0.9787 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.9004, allocations: 12 kB / 0.9787 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.9004, allocations: 11.98 kB / 0.9787 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9004, allocations: 4.125 kB / 0.9787 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.9023, allocations: 1.112 MB / 0.9798 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.9025, allocations: 164 kB / 0.98 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.9026, allocations: 15.95 kB / 0.98 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.9029, allocations: 63.95 kB / 0.9801 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.903, allocations: 36.7 kB / 0.9801 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.9031, allocations: 27.98 kB / 0.9801 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005815/0.9037, allocations: 398.8 kB / 0.9805 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.21e-07/0.9037, allocations: 0 / 0.9805 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000922/0.9046, allocations: 302.5 kB / 0.9808 GB, free: 4.656 MB / 0.7325 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.0002028/0.9048, allocations: 135.2 kB / 0.9809 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.9066, allocations: 0.9029 MB / 0.9818 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9066, allocations: 4 kB / 0.9818 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.9071, allocations: 331.5 kB / 0.9821 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.908, allocations: 135.5 kB / 0.9822 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.911, allocations: 1.894 MB / 0.9841 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.9116, allocations: 0.9742 MB / 0.985 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.9118, allocations: 63.42 kB / 0.9851 GB, free: 140 kB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/0.9118, allocations: 0 / 0.9851 GB, free: 140 kB / 0.7325 GB Notification: Performance of Templates: time 0.01554/0.9273, allocations: 8.985 MB / 0.9939 GB, free: 7.152 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetCalcHelperMain.o] Error 1