Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.232/2.232, allocations: 254.9 MB / 269.9 MB, free: 9.652 MB / 218.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.001537/0.001537, allocations: 188.6 kB / 329.5 MB, free: 1.156 MB / 250.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 2.583/2.583, allocations: 225.6 MB / 0.6001 GB, free: 476 kB / 426.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.001016/0.001015, allocations: 106 kB / 0.7074 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005918/0.000592, allocations: 12.72 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2395, allocations: 109.1 MB / 0.9308 GB, free: 24.83 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004999/0.2446, allocations: 3.686 MB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.2479, allocations: 1.302 MB / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.2486, allocations: 23.94 kB / 0.9357 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.2491, allocations: 146.5 kB / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.2497, allocations: 99.19 kB / 0.9359 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.2505, allocations: 251.7 kB / 0.9362 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2517, allocations: 1.057 MB / 0.9372 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.2531, allocations: 0.6535 MB / 0.9378 GB, free: 17.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.2536, allocations: 258.4 kB / 0.9381 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.254, allocations: 321.6 kB / 0.9384 GB, free: 17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.2541, allocations: 28 kB / 0.9384 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.2542, allocations: 28 kB / 0.9384 GB, free: 16.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2543, allocations: 143.2 kB / 0.9386 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.2545, allocations: 185.1 kB / 0.9387 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2556, allocations: 1.079 MB / 0.9398 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2556, allocations: 0 / 0.9398 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2556, allocations: 0 / 0.9398 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.2557, allocations: 4 kB / 0.9398 GB, free: 15.53 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003047/0.2587, allocations: 1.282 MB / 0.9411 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2588, allocations: 12.02 kB / 0.9411 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.259, allocations: 131.3 kB / 0.9412 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.2602, allocations: 0.6269 MB / 0.9418 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.2603, allocations: 78.38 kB / 0.9419 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.2605, allocations: 100.4 kB / 0.942 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.2627, allocations: 0.9712 MB / 0.9429 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.2628, allocations: 0 / 0.9429 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.263, allocations: 44 kB / 0.943 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.263, allocations: 27.94 kB / 0.943 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.2652, allocations: 0.687 MB / 0.9437 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.2719, allocations: 3.6 MB / 0.9472 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2738, allocations: 0.7377 MB / 0.9479 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.2748, allocations: 411.7 kB / 0.9483 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.2749, allocations: 16.64 kB / 0.9483 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.276, allocations: 360.4 kB / 0.9486 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=74): time 3.246e-06/0.276, allocations: 0 / 0.9486 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of matching and sorting (n=74): time 0.002594/0.2786, allocations: 0.8796 MB / 0.9495 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.2787, allocations: 166.8 kB / 0.9497 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.2797, allocations: 0.6687 MB / 0.9503 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.2798, allocations: 45.7 kB / 0.9504 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.2802, allocations: 488.1 kB / 0.9508 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.2804, allocations: 260.2 kB / 0.9511 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.2805, allocations: 12 kB / 0.9511 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.2806, allocations: 337.9 kB / 0.9514 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.2814, allocations: 257.9 kB / 0.9517 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009125/0.2823, allocations: 399.7 kB / 0.952 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/0.2832, allocations: 302.9 kB / 0.9523 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2832, allocations: 0 / 0.9523 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002159/0.2854, allocations: 0.7699 MB / 0.9531 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/0.2855, allocations: 146.2 kB / 0.9532 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2855, allocations: 0 / 0.9532 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.2856, allocations: 8 kB / 0.9532 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.2868, allocations: 167.7 kB / 0.9534 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.2868, allocations: 7.938 kB / 0.9534 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.2877, allocations: 119.2 kB / 0.9535 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.2878, allocations: 28 kB / 0.9535 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2878, allocations: 4 kB / 0.9535 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001203/0.289, allocations: 0.5544 MB / 0.9541 GB, free: 500 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2891, allocations: 0 / 0.9541 GB, free: 500 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2891, allocations: 8 kB / 0.9541 GB, free: 492 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/0.29, allocations: 143.8 kB / 0.9542 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2901, allocations: 4 kB / 0.9542 GB, free: 344 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.2907, allocations: 95.44 kB / 0.9543 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.2908, allocations: 20 kB / 0.9543 GB, free: 228 kB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0005598/0.2913, allocations: 320.8 kB / 0.9546 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.2915, allocations: 82.97 kB / 0.9547 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.2918, allocations: 96.8 kB / 0.9548 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.2918, allocations: 8 kB / 0.9548 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2918, allocations: 0 / 0.9548 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.2918, allocations: 7.984 kB / 0.9548 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.2959, allocations: 1.667 MB / 0.9565 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.296, allocations: 0 / 0.9565 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.2972, allocations: 147.8 kB / 0.9566 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.2973, allocations: 4 kB / 0.9566 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.2973, allocations: 12 kB / 0.9566 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.2974, allocations: 4 kB / 0.9566 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2974, allocations: 0 / 0.9566 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.3007, allocations: 1.104 MB / 0.9577 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.3009, allocations: 163.9 kB / 0.9579 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3011, allocations: 20 kB / 0.9579 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.3017, allocations: 51.95 kB / 0.9579 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3019, allocations: 44.59 kB / 0.958 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.3019, allocations: 23.94 kB / 0.958 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00091/0.3029, allocations: 471 kB / 0.9584 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3029, allocations: 0 / 0.9584 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001125/0.304, allocations: 338.3 kB / 0.9588 GB, free: 11.59 MB / 0.6042 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 (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.0002504/0.3043, allocations: 142.8 kB / 0.9589 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.3071, allocations: 0.9429 MB / 0.9598 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3072, allocations: 4.188 kB / 0.9598 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3082, allocations: 331.6 kB / 0.9601 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.3098, allocations: 207.2 kB / 0.9603 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.3142, allocations: 2.031 MB / 0.9623 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.315, allocations: 1.029 MB / 0.9633 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007077/0.3158, allocations: 102.3 kB / 0.9634 GB, free: 6.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.3161, allocations: 63.42 kB / 0.9635 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.3161, allocations: 0 / 0.9635 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of Templates: time 0.02654/0.3426, allocations: 7.82 MB / 0.9711 GB, free: 14.89 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)