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.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.414/2.414, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001782/0.001782, allocations: 189.1 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.35/2.35, allocations: 225.6 MB / 0.6001 GB, free: 3.676 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.0009525/0.0009525, allocations: 105.2 kB / 0.7074 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006605/0.0006611, allocations: 13.88 kB / 0.8242 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2385, allocations: 109.1 MB / 0.9308 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006301/0.2449, allocations: 4.631 MB / 0.9353 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.2496, allocations: 1.662 MB / 0.9369 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.2511, allocations: 31.88 kB / 0.937 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009227/0.252, allocations: 186.2 kB / 0.9371 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.2532, allocations: 126.9 kB / 0.9373 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2546, allocations: 339.4 kB / 0.9376 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002262/0.2569, allocations: 1.382 MB / 0.9389 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.2585, allocations: 0.6738 MB / 0.9396 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.2591, allocations: 330 kB / 0.9399 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.2596, allocations: 405.3 kB / 0.9403 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.2597, allocations: 36 kB / 0.9403 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2598, allocations: 32 kB / 0.9404 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.26, allocations: 175 kB / 0.9405 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.2602, allocations: 217 kB / 0.9407 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.2616, allocations: 1.278 MB / 0.942 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2616, allocations: 4 kB / 0.942 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2617, allocations: 0 / 0.942 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.568e-05/0.2617, allocations: 0 / 0.942 GB, free: 31.89 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004482/0.2662, allocations: 1.533 MB / 0.9435 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2663, allocations: 14.84 kB / 0.9435 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005659/0.2668, allocations: 151.1 kB / 0.9436 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.2687, allocations: 0.7398 MB / 0.9444 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.2688, allocations: 78.45 kB / 0.9444 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.2691, allocations: 108.4 kB / 0.9445 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.2723, allocations: 1.114 MB / 0.9456 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.2724, allocations: 0 / 0.9456 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.2725, allocations: 44 kB / 0.9457 GB, free: 27.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.2726, allocations: 27.94 kB / 0.9457 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.276, allocations: 0.8821 MB / 0.9466 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008621/0.2846, allocations: 4.159 MB / 0.9506 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.2887, allocations: 1.073 MB / 0.9517 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.2903, allocations: 0.4916 MB / 0.9521 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.2905, allocations: 13 kB / 0.9522 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.292, allocations: 457 kB / 0.9526 GB, free: 20.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 5.641e-06/0.2921, allocations: 0 / 0.9526 GB, free: 20.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.004056/0.2962, allocations: 1.147 MB / 0.9537 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.2963, allocations: 226.6 kB / 0.9539 GB, free: 19.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.2978, allocations: 0.8781 MB / 0.9548 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.298, allocations: 41.7 kB / 0.9548 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.2985, allocations: 0.5469 MB / 0.9554 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.2989, allocations: 287.8 kB / 0.9556 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.299, allocations: 20 kB / 0.9557 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.2991, allocations: 334 kB / 0.956 GB, free: 17.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.3004, allocations: 345.8 kB / 0.9563 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.3019, allocations: 0.5319 MB / 0.9568 GB, free: 16.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.3034, allocations: 390.8 kB / 0.9572 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.3034, allocations: 0 / 0.9572 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003414/0.3069, allocations: 0.9999 MB / 0.9582 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.307, allocations: 148.2 kB / 0.9583 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.307, allocations: 4 kB / 0.9583 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.3071, allocations: 4 kB / 0.9583 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.3087, allocations: 219.7 kB / 0.9585 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.3088, allocations: 4 kB / 0.9585 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3101, allocations: 166.9 kB / 0.9587 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.3103, allocations: 35.98 kB / 0.9587 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3103, allocations: 8 kB / 0.9587 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00189/0.3122, allocations: 0.691 MB / 0.9594 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3122, allocations: 4.25 kB / 0.9594 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3123, allocations: 8 kB / 0.9594 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3135, allocations: 175.7 kB / 0.9596 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.3136, allocations: 15.97 kB / 0.9596 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.3146, allocations: 123.1 kB / 0.9597 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.3147, allocations: 28 kB / 0.9598 GB, free: 13.16 MB / 0.6042 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * 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.0006419/0.3153, allocations: 333.4 kB / 0.9601 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.3156, allocations: 110.6 kB / 0.9602 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.3159, allocations: 123.2 kB / 0.9603 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3159, allocations: 11.94 kB / 0.9603 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.3159, allocations: 0 / 0.9603 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3159, allocations: 7.984 kB / 0.9603 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3173, allocations: 0.9714 MB / 0.9613 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.3174, allocations: 0 / 0.9613 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.3189, allocations: 179.8 kB / 0.9614 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3189, allocations: 4 kB / 0.9614 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.3191, allocations: 19.98 kB / 0.9615 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3191, allocations: 4 kB / 0.9615 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3191, allocations: 0 / 0.9615 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.3233, allocations: 1.319 MB / 0.9627 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.3237, allocations: 187.6 kB / 0.9629 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.3239, allocations: 16 kB / 0.9629 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.3248, allocations: 87.94 kB / 0.963 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.325, allocations: 60.86 kB / 0.9631 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.3251, allocations: 19.98 kB / 0.9631 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001088/0.3262, allocations: 0.5995 MB / 0.9637 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.72e-07/0.3262, allocations: 0 / 0.9637 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001405/0.3276, allocations: 382.3 kB / 0.9641 GB, free: 8.645 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002466/0.3279, allocations: 139.1 kB / 0.9642 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004022/0.3319, allocations: 1.206 MB / 0.9654 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.332, allocations: 0 / 0.9654 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.3334, allocations: 414.1 kB / 0.9658 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.3354, allocations: 264 kB / 0.966 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.3399, allocations: 2.274 MB / 0.9682 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.3404, allocations: 1.081 MB / 0.9693 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008713/0.3413, allocations: 128.2 kB / 0.9694 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.3417, allocations: 79.41 kB / 0.9695 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/0.3417, allocations: 0 / 0.9695 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of Templates: time 0.03873/0.3804, allocations: 10.24 MB / 0.9795 GB, free: 8.809 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)