Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.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.404/1.404, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.0009623/0.0009625, allocations: 182.3 kB / 330.8 MB, free: 0.4961 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 1.71/1.71, allocations: 225.7 MB / 0.6016 GB, free: 1.672 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.000809/0.0008089, allocations: 107.8 kB / 0.709 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003501, allocations: 14.31 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 109.2 MB / 0.9328 GB, free: 6.27 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.00409/0.2343, allocations: 4.645 MB / 0.9373 GB, free: 1.602 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.237, allocations: 1.665 MB / 0.9389 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005609/0.2376, allocations: 31.88 kB / 0.939 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.238, allocations: 190.2 kB / 0.9391 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005145/0.2385, allocations: 138.8 kB / 0.9393 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007103/0.2392, allocations: 455.5 kB / 0.9397 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.2405, allocations: 1.417 MB / 0.9411 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009177/0.2414, allocations: 0.6794 MB / 0.9418 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.2418, allocations: 345.7 kB / 0.9421 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.2422, allocations: 425 kB / 0.9425 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.2423, allocations: 32 kB / 0.9425 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.2424, allocations: 39.94 kB / 0.9426 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2425, allocations: 182.9 kB / 0.9427 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.2429, allocations: 0.498 MB / 0.9432 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2441, allocations: 1.537 MB / 0.9447 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2441, allocations: 4 kB / 0.9447 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2441, allocations: 0 / 0.9447 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.2442, allocations: 3.938 kB / 0.9447 GB, free: 9.938 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002583/0.2468, allocations: 1.514 MB / 0.9462 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2468, allocations: 19.92 kB / 0.9462 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.247, allocations: 151.1 kB / 0.9464 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.248, allocations: 0.7625 MB / 0.9471 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.2481, allocations: 86.44 kB / 0.9472 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2483, allocations: 112.2 kB / 0.9473 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.2502, allocations: 1.118 MB / 0.9484 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2502, allocations: 0 / 0.9484 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.2503, allocations: 44 kB / 0.9484 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.2503, allocations: 24 kB / 0.9485 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2521, allocations: 0.8821 MB / 0.9493 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.2575, allocations: 4.159 MB / 0.9534 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.2597, allocations: 1.07 MB / 0.9544 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.2605, allocations: 499.6 kB / 0.9549 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.2606, allocations: 9 kB / 0.9549 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.2616, allocations: 461 kB / 0.9554 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 3.367e-06/0.2617, allocations: 0 / 0.9554 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002403/0.2641, allocations: 1.155 MB / 0.9565 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.2642, allocations: 222.6 kB / 0.9567 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.2654, allocations: 0.8704 MB / 0.9576 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.2654, allocations: 45.7 kB / 0.9576 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.2659, allocations: 0.5469 MB / 0.9581 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.2661, allocations: 279.8 kB / 0.9584 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.2662, allocations: 20 kB / 0.9584 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2663, allocations: 337.9 kB / 0.9587 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.267, allocations: 353.8 kB / 0.9591 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/0.2679, allocations: 0.5319 MB / 0.9596 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.2694, allocations: 0.7846 MB / 0.9604 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2694, allocations: 4 kB / 0.9604 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001869/0.2713, allocations: 1.012 MB / 0.9614 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/0.2714, allocations: 156 kB / 0.9615 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2714, allocations: 0 / 0.9615 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2714, allocations: 8 kB / 0.9615 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.2722, allocations: 215.7 kB / 0.9617 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.2722, allocations: 8 kB / 0.9617 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.2729, allocations: 174.9 kB / 0.9619 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.273, allocations: 28 kB / 0.9619 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/0.273, allocations: 4 kB / 0.9619 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/0.2744, allocations: 0.691 MB / 0.9626 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2744, allocations: 4 kB / 0.9626 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.2745, allocations: 7.938 kB / 0.9626 GB, free: 7.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.2752, allocations: 176 kB / 0.9628 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.2752, allocations: 7.938 kB / 0.9628 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.2759, allocations: 131.1 kB / 0.9629 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.2759, allocations: 28 kB / 0.9629 GB, free: 6.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005834/0.2765, allocations: 341.5 kB / 0.9633 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.2767, allocations: 106.7 kB / 0.9634 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.2769, allocations: 115.2 kB / 0.9635 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2769, allocations: 8 kB / 0.9635 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.2769, allocations: 7.938 kB / 0.9635 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2769, allocations: 3.984 kB / 0.9635 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.2782, allocations: 0.9753 MB / 0.9644 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2782, allocations: 0 / 0.9644 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.2789, allocations: 183.8 kB / 0.9646 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2789, allocations: 4 kB / 0.9646 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.279, allocations: 16 kB / 0.9646 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.279, allocations: 4 kB / 0.9646 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.279, allocations: 4 kB / 0.9646 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.2814, allocations: 1.311 MB / 0.9659 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.2816, allocations: 195.5 kB / 0.9661 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.2817, allocations: 16 kB / 0.9661 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.2821, allocations: 87.92 kB / 0.9662 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.2822, allocations: 44.94 kB / 0.9663 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.2823, allocations: 27.98 kB / 0.9663 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007802/0.2831, allocations: 0.6035 MB / 0.9669 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2831, allocations: 0 / 0.9669 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008031/0.2839, allocations: 374.4 kB / 0.9672 GB, free: 2.223 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 (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.0002419/0.2841, allocations: 137.2 kB / 0.9674 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.2864, allocations: 1.221 MB / 0.9685 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2864, allocations: 0 / 0.9685 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.2871, allocations: 409.8 kB / 0.9689 GB, free: 472 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.2882, allocations: 266.8 kB / 0.9692 GB, free: 208 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.2914, allocations: 2.399 MB / 0.9715 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.292, allocations: 1.081 MB / 0.9726 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005197/0.2925, allocations: 132.2 kB / 0.9727 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2927, allocations: 79.41 kB / 0.9728 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.2927, allocations: 0 / 0.9728 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.01918/0.3119, allocations: 10.6 MB / 0.9831 GB, free: 1.891 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)