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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") 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.444/1.444, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.00103/0.00103, allocations: 186.1 kB / 330.8 MB, free: 472 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.653/1.653, allocations: 225.7 MB / 0.6016 GB, free: 1.531 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.0007887/0.0007891, allocations: 83.62 kB / 0.709 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 109.2 MB / 0.9327 GB, free: 6.262 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003171/0.1879, allocations: 3.56 MB / 0.9362 GB, free: 2.68 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1898, allocations: 1.322 MB / 0.9375 GB, free: 1.332 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.1902, allocations: 27.88 kB / 0.9375 GB, free: 1.305 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1904, allocations: 87.22 kB / 0.9376 GB, free: 1.219 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1907, allocations: 154.8 kB / 0.9378 GB, free: 1.066 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.1914, allocations: 375.6 kB / 0.9381 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.192, allocations: 0.8734 MB / 0.939 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.1926, allocations: 422.1 kB / 0.9394 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.1929, allocations: 230.7 kB / 0.9396 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1932, allocations: 258.3 kB / 0.9399 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.115e-05/0.1933, allocations: 28 kB / 0.9399 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.1934, allocations: 24 kB / 0.9399 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1935, allocations: 99.47 kB / 0.94 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.1938, allocations: 335.8 kB / 0.9403 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.1946, allocations: 0.9537 MB / 0.9412 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1947, allocations: 4 kB / 0.9413 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1947, allocations: 0 / 0.9413 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.1947, allocations: 0 / 0.9413 GB, free: 13.46 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001615/0.1963, allocations: 0.9524 MB / 0.9422 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1963, allocations: 11.98 kB / 0.9422 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.1965, allocations: 80 kB / 0.9423 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.1973, allocations: 0.5495 MB / 0.9428 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.1973, allocations: 45.69 kB / 0.9429 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.401e-05/0.1974, allocations: 60.38 kB / 0.9429 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.1986, allocations: 0.6117 MB / 0.9435 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1986, allocations: 3.906 kB / 0.9435 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.1987, allocations: 24 kB / 0.9435 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1987, allocations: 16 kB / 0.9435 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1997, allocations: 465 kB / 0.944 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.2026, allocations: 2.016 MB / 0.946 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.2036, allocations: 469.7 kB / 0.9464 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.2041, allocations: 244.1 kB / 0.9466 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.2041, allocations: 4.438 kB / 0.9466 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005937/0.2047, allocations: 269.2 kB / 0.9469 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 2.444e-06/0.2048, allocations: 0 / 0.9469 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.001345/0.2061, allocations: 0.6045 MB / 0.9475 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.2062, allocations: 59.84 kB / 0.9475 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.2067, allocations: 438 kB / 0.948 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2067, allocations: 37.7 kB / 0.948 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.2069, allocations: 328.2 kB / 0.9483 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2071, allocations: 165.6 kB / 0.9485 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.2071, allocations: 12 kB / 0.9485 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2073, allocations: 362.8 kB / 0.9488 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.2077, allocations: 173 kB / 0.949 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.2081, allocations: 257.8 kB / 0.9492 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.209, allocations: 456 kB / 0.9497 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.209, allocations: 0 / 0.9497 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001097/0.2101, allocations: 0.5702 MB / 0.9502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.2102, allocations: 41.55 kB / 0.9503 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2102, allocations: 7.938 kB / 0.9503 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2102, allocations: 4 kB / 0.9503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.2108, allocations: 111.9 kB / 0.9504 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.2108, allocations: 15.92 kB / 0.9504 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.2112, allocations: 67.75 kB / 0.9505 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.2113, allocations: 27.98 kB / 0.9505 GB, free: 3.656 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.000349/0.2116, allocations: 207.2 kB / 0.9507 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.2117, allocations: 59.28 kB / 0.9508 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.2118, allocations: 65.58 kB / 0.9508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2119, allocations: 4 kB / 0.9508 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2119, allocations: 0 / 0.9508 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2119, allocations: 0 / 0.9508 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.2139, allocations: 1.193 MB / 0.952 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2139, allocations: 0 / 0.952 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.2144, allocations: 103.8 kB / 0.9521 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2144, allocations: 3.938 kB / 0.9521 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.2145, allocations: 8 kB / 0.9521 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2145, allocations: 0 / 0.9521 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2145, allocations: 4 kB / 0.9521 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.2159, allocations: 0.7719 MB / 0.9529 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.2161, allocations: 172.4 kB / 0.953 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.2162, allocations: 8 kB / 0.953 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.2165, allocations: 35.91 kB / 0.9531 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.2166, allocations: 36.39 kB / 0.9531 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.2166, allocations: 16 kB / 0.9531 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003571/0.217, allocations: 306.9 kB / 0.9534 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.217, allocations: 0 / 0.9534 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004556/0.2175, allocations: 143.4 kB / 0.9535 GB, free: 460 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001504/0.2176, allocations: 123.1 kB / 0.9537 GB, free: 328 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009873/0.2186, allocations: 493 kB / 0.9541 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2186, allocations: 0 / 0.9541 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.2191, allocations: 222.9 kB / 0.9543 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.2199, allocations: 149.4 kB / 0.9545 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.2227, allocations: 1.685 MB / 0.9561 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2231, allocations: 0.8901 MB / 0.957 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.2234, allocations: 60.59 kB / 0.9571 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2236, allocations: 43.44 kB / 0.9571 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.934e-06/0.2236, allocations: 0 / 0.9571 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.01165/0.2352, allocations: 5.528 MB / 0.9625 GB, free: 7.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)