Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.0009663/0.0009663, allocations: 191.1 kB / 330.8 MB, free: 460 kB / 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 1.684/1.684, allocations: 225.7 MB / 0.6016 GB, free: 1.508 MB / 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.0009855/0.0009855, allocations: 95.55 kB / 0.709 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 11.94 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 109.2 MB / 0.9327 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.002928/0.1975, allocations: 3.159 MB / 0.9358 GB, free: 3.07 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1993, allocations: 1.334 MB / 0.9371 GB, free: 1.711 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.1997, allocations: 23.88 kB / 0.9372 GB, free: 1.688 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.1999, allocations: 95.09 kB / 0.9372 GB, free: 1.594 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.2003, allocations: 147 kB / 0.9374 GB, free: 1.449 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.2012, allocations: 0.5266 MB / 0.9379 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.2018, allocations: 0.8979 MB / 0.9388 GB, free: 20 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.2023, allocations: 337.6 kB / 0.9391 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.2027, allocations: 282.3 kB / 0.9394 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.203, allocations: 274.1 kB / 0.9396 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.201e-05/0.2031, allocations: 20 kB / 0.9396 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.2031, allocations: 20 kB / 0.9397 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.2033, allocations: 115.3 kB / 0.9398 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.2036, allocations: 327.5 kB / 0.9401 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.2043, allocations: 0.7822 MB / 0.9408 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2043, allocations: 3.938 kB / 0.9409 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2043, allocations: 4 kB / 0.9409 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.2044, allocations: 4 kB / 0.9409 GB, free: 13.85 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001892/0.2063, allocations: 1.051 MB / 0.9419 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2063, allocations: 11.98 kB / 0.9419 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.2065, allocations: 95.81 kB / 0.942 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.2074, allocations: 0.5987 MB / 0.9426 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2075, allocations: 101 kB / 0.9427 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.2076, allocations: 52.38 kB / 0.9427 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.2088, allocations: 0.6081 MB / 0.9433 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2088, allocations: 0 / 0.9433 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.2089, allocations: 27.92 kB / 0.9433 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.2089, allocations: 16 kB / 0.9434 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009458/0.2099, allocations: 431.7 kB / 0.9438 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.2127, allocations: 2.133 MB / 0.9459 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.2139, allocations: 0.5158 MB / 0.9464 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.2144, allocations: 232.7 kB / 0.9466 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.2144, allocations: 8 kB / 0.9466 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007285/0.2151, allocations: 286.2 kB / 0.9469 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/0.2152, allocations: 1.094 kB / 0.9469 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45): time 0.001544/0.2167, allocations: 0.6411 MB / 0.9475 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.2168, allocations: 96.84 kB / 0.9476 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/0.2176, allocations: 0.5983 MB / 0.9482 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.2176, allocations: 37.7 kB / 0.9482 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.2179, allocations: 360.6 kB / 0.9485 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.218, allocations: 153.8 kB / 0.9487 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.2181, allocations: 12 kB / 0.9487 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2182, allocations: 326 kB / 0.949 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.2186, allocations: 185 kB / 0.9492 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.2192, allocations: 288.2 kB / 0.9495 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.2201, allocations: 497.9 kB / 0.9499 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2201, allocations: 7.938 kB / 0.9499 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001184/0.2213, allocations: 0.6061 MB / 0.9505 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.2215, allocations: 197.2 kB / 0.9507 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2215, allocations: 4 kB / 0.9507 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2215, allocations: 4 kB / 0.9507 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.222, allocations: 111.8 kB / 0.9508 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.222, allocations: 8 kB / 0.9508 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.2224, allocations: 71.41 kB / 0.9509 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.2224, allocations: 20 kB / 0.9509 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.2225, allocations: 7.938 kB / 0.9509 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009865/0.2235, allocations: 0.4998 MB / 0.9514 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2235, allocations: 4 kB / 0.9514 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.2235, allocations: 4 kB / 0.9514 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.2239, allocations: 107.8 kB / 0.9515 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2239, allocations: 4.25 kB / 0.9515 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2243, allocations: 63.52 kB / 0.9516 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.2243, allocations: 16 kB / 0.9516 GB, free: 2.379 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003062/0.2246, allocations: 280.9 kB / 0.9519 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.2247, allocations: 71.09 kB / 0.952 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2249, allocations: 79.22 kB / 0.952 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2249, allocations: 8 kB / 0.952 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2249, allocations: 0 / 0.952 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2249, allocations: 3.984 kB / 0.952 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.2256, allocations: 0.6219 MB / 0.9526 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2256, allocations: 3.938 kB / 0.9527 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.2261, allocations: 91.88 kB / 0.9527 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2261, allocations: 0 / 0.9527 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.2261, allocations: 12 kB / 0.9528 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2261, allocations: 8 kB / 0.9528 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2261, allocations: 0 / 0.9528 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2277, allocations: 0.7447 MB / 0.9535 GB, free: 396 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.2279, allocations: 200 kB / 0.9537 GB, free: 176 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.228, allocations: 8 kB / 0.9537 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.2284, allocations: 47.95 kB / 0.9537 GB, free: 120 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.2285, allocations: 27.95 kB / 0.9538 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.2285, allocations: 23.92 kB / 0.9538 GB, free: 68 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000508/0.229, allocations: 427 kB / 0.9542 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.229, allocations: 0 / 0.9542 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005665/0.2296, allocations: 219.3 kB / 0.9544 GB, free: 15.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.000163/0.2298, allocations: 115.1 kB / 0.9545 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.2314, allocations: 0.8161 MB / 0.9553 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2314, allocations: 0 / 0.9553 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.2318, allocations: 220.3 kB / 0.9555 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.2327, allocations: 188.5 kB / 0.9557 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2349, allocations: 1.462 MB / 0.9571 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.2354, allocations: 0.9183 MB / 0.958 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004265/0.2359, allocations: 97.09 kB / 0.9581 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.236, allocations: 43.44 kB / 0.9582 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.236, allocations: 3.938 kB / 0.9582 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.01346/0.2495, allocations: 7.139 MB / 0.9651 GB, free: 4.395 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)