Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 297.4 MB / 312.6 MB, free: 2.895 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 186 kB / 382.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 225.7 MB / 0.6617 GB, free: 7.199 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.0008789, allocations: 95.62 kB / 0.7789 GB, free: 46.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 8 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.747, allocations: 119.2 MB / 1.022 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003441/0.7505, allocations: 2.611 MB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.7533, allocations: 1.648 MB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.7539, allocations: 19.41 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.7542, allocations: 108.7 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.7547, allocations: 106.5 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.7553, allocations: 287 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.7564, allocations: 0.9714 MB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008714/0.7572, allocations: 0.5771 MB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.7575, allocations: 253.7 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.7578, allocations: 321.8 kB / 1.029 GB, free: 53.4 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.7579, allocations: 25.5 kB / 1.029 GB, free: 53.4 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.758, allocations: 26.44 kB / 1.029 GB, free: 53.4 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.7581, allocations: 134.2 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.7583, allocations: 390.3 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000886/0.7592, allocations: 1.173 MB / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.7592, allocations: 2.438 kB / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7592, allocations: 0 / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.7593, allocations: 0 / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001952/0.7612, allocations: 1.173 MB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.7613, allocations: 10.25 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.7614, allocations: 116.8 kB / 1.032 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.7621, allocations: 0.5944 MB / 1.033 GB, free: 51.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.7622, allocations: 67.34 kB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.7623, allocations: 100.9 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.7638, allocations: 0.8475 MB / 1.034 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7639, allocations: 1.281 kB / 1.034 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.7639, allocations: 46.02 kB / 1.034 GB, free: 50.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.764, allocations: 22.72 kB / 1.034 GB, free: 50.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.7653, allocations: 0.6254 MB / 1.034 GB, free: 50.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.7701, allocations: 2.726 MB / 1.037 GB, free: 49.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.7718, allocations: 1.327 MB / 1.038 GB, free: 48.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.7725, allocations: 389.4 kB / 1.039 GB, free: 48.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.7726, allocations: 4.438 kB / 1.039 GB, free: 48.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007484/0.7733, allocations: 348.2 kB / 1.039 GB, free: 47.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.667e-06/0.7733, allocations: 0 / 1.039 GB, free: 47.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.002138/0.7755, allocations: 0.817 MB / 1.04 GB, free: 47.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.7756, allocations: 161.9 kB / 1.04 GB, free: 47.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.7765, allocations: 0.5952 MB / 1.04 GB, free: 47.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.7765, allocations: 38.34 kB / 1.04 GB, free: 47.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.7768, allocations: 418.2 kB / 1.041 GB, free: 46.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.777, allocations: 232.5 kB / 1.041 GB, free: 46.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.777, allocations: 11.69 kB / 1.041 GB, free: 46.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7772, allocations: 388.2 kB / 1.041 GB, free: 46.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.7776, allocations: 232.3 kB / 1.042 GB, free: 46.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.7782, allocations: 347.3 kB / 1.042 GB, free: 45.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.7791, allocations: 0.5245 MB / 1.043 GB, free: 45.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7791, allocations: 4 kB / 1.043 GB, free: 45.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001177/0.7803, allocations: 0.6804 MB / 1.043 GB, free: 45.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.7804, allocations: 121.6 kB / 1.043 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7804, allocations: 2.062 kB / 1.043 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.7804, allocations: 4.656 kB / 1.043 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.781, allocations: 153.6 kB / 1.043 GB, free: 45.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.781, allocations: 11.48 kB / 1.043 GB, free: 45.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.7814, allocations: 109.1 kB / 1.044 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.7814, allocations: 19.69 kB / 1.044 GB, free: 45.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.7814, allocations: 9.375 kB / 1.044 GB, free: 45.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006606/0.7821, allocations: 468.1 kB / 1.044 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7821, allocations: 1.094 kB / 1.044 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.7821, allocations: 8.688 kB / 1.044 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.7826, allocations: 123.7 kB / 1.044 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7826, allocations: 3.156 kB / 1.044 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.7829, allocations: 91.02 kB / 1.044 GB, free: 44.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.7829, allocations: 17.78 kB / 1.044 GB, free: 44.99 MB / 0.698 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0003561/0.7833, allocations: 297.8 kB / 1.045 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.7834, allocations: 76.14 kB / 1.045 GB, free: 44.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.7835, allocations: 78.94 kB / 1.045 GB, free: 44.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7835, allocations: 7.75 kB / 1.045 GB, free: 44.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.7835, allocations: 5.562 kB / 1.045 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.7835, allocations: 3.656 kB / 1.045 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.7858, allocations: 1.587 MB / 1.046 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7858, allocations: 0 / 1.046 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.7863, allocations: 134.7 kB / 1.046 GB, free: 43.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7863, allocations: 4 kB / 1.046 GB, free: 43.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.7864, allocations: 18.34 kB / 1.046 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7864, allocations: 3.125 kB / 1.046 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7864, allocations: 2.016 kB / 1.046 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.7879, allocations: 1.016 MB / 1.047 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.788, allocations: 164.4 kB / 1.048 GB, free: 43.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.7881, allocations: 17.38 kB / 1.048 GB, free: 43.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.7884, allocations: 50.5 kB / 1.048 GB, free: 43.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.7885, allocations: 36.89 kB / 1.048 GB, free: 43.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.7885, allocations: 30.55 kB / 1.048 GB, free: 43.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004378/0.789, allocations: 416.2 kB / 1.048 GB, free: 42.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.789, allocations: 0 / 1.048 GB, free: 42.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000658/0.7896, allocations: 298.1 kB / 1.048 GB, free: 42.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001813/0.7898, allocations: 135.9 kB / 1.049 GB, free: 42.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.7911, allocations: 0.8346 MB / 1.049 GB, free: 42.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7912, allocations: 0 / 1.049 GB, free: 42.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.7916, allocations: 301.5 kB / 1.05 GB, free: 42.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.7924, allocations: 135.4 kB / 1.05 GB, free: 42.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.7948, allocations: 1.913 MB / 1.052 GB, free: 41.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.7952, allocations: 0.9802 MB / 1.053 GB, free: 40.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003467/0.7956, allocations: 87.47 kB / 1.053 GB, free: 40.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.7957, allocations: 56.8 kB / 1.053 GB, free: 40.4 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.7957, allocations: 0 / 1.053 GB, free: 40.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01256/0.8083, allocations: 6.786 MB / 1.059 GB, free: 40 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)