Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.515/2.515, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001341/0.001341, allocations: 187.6 kB / 329.5 MB, free: 1.152 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.662/2.662, allocations: 225.6 MB / 0.6001 GB, free: 2.285 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.0009569/0.0009564, allocations: 87.48 kB / 0.7074 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006561/0.0006564, allocations: 10.97 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2192, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004463/0.2238, allocations: 3.12 MB / 0.9338 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.2272, allocations: 1.274 MB / 0.935 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.228, allocations: 27.81 kB / 0.9351 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.2284, allocations: 87.16 kB / 0.9352 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007483/0.2291, allocations: 139 kB / 0.9353 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.2309, allocations: 455.2 kB / 0.9357 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.2324, allocations: 0.8471 MB / 0.9365 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/0.2331, allocations: 339.1 kB / 0.9369 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.2337, allocations: 270.5 kB / 0.9371 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.2341, allocations: 258.3 kB / 0.9374 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.2342, allocations: 20 kB / 0.9374 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2343, allocations: 20 kB / 0.9374 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2345, allocations: 115.3 kB / 0.9375 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2346, allocations: 137.3 kB / 0.9377 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.2353, allocations: 0.6198 MB / 0.9383 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2354, allocations: 4 kB / 0.9383 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2354, allocations: 0 / 0.9383 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2354, allocations: 4 kB / 0.9383 GB, free: 17.41 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.002741/0.2382, allocations: 1.063 MB / 0.9393 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2382, allocations: 8.031 kB / 0.9393 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.2384, allocations: 95.81 kB / 0.9394 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.2398, allocations: 0.5681 MB / 0.94 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.24, allocations: 105 kB / 0.9401 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.2401, allocations: 52.38 kB / 0.9401 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.2417, allocations: 0.6081 MB / 0.9407 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2418, allocations: 0 / 0.9407 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.2419, allocations: 23.94 kB / 0.9407 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.2419, allocations: 16 kB / 0.9407 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2435, allocations: 439.6 kB / 0.9412 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.2476, allocations: 2.141 MB / 0.9433 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.2496, allocations: 0.5192 MB / 0.9438 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.2504, allocations: 224.7 kB / 0.944 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-05/0.2504, allocations: 8 kB / 0.944 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.2515, allocations: 290.2 kB / 0.9443 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=45): time 3.447e-06/0.2515, allocations: 0 / 0.9443 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45): time 0.002424/0.2539, allocations: 0.6372 MB / 0.9449 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.254, allocations: 96.84 kB / 0.945 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.255, allocations: 0.6023 MB / 0.9456 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.2551, allocations: 33.7 kB / 0.9456 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.2554, allocations: 364.7 kB / 0.9459 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2556, allocations: 153.8 kB / 0.9461 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.2556, allocations: 12 kB / 0.9461 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.2557, allocations: 326 kB / 0.9464 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.2565, allocations: 185 kB / 0.9466 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.2573, allocations: 284.2 kB / 0.9469 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.2581, allocations: 234.4 kB / 0.9471 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2581, allocations: 9.031 kB / 0.9471 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001918/0.2601, allocations: 0.6099 MB / 0.9477 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.2602, allocations: 193.4 kB / 0.9479 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2602, allocations: 4 kB / 0.9479 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.2603, allocations: 4 kB / 0.9479 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/0.2612, allocations: 115.8 kB / 0.948 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2612, allocations: 4 kB / 0.948 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.262, allocations: 71.5 kB / 0.9481 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.2621, allocations: 20 kB / 0.9481 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2621, allocations: 7.938 kB / 0.9481 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/0.2637, allocations: 0.5037 MB / 0.9486 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2637, allocations: 0 / 0.9486 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2637, allocations: 8 kB / 0.9486 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.2646, allocations: 108.1 kB / 0.9487 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2646, allocations: 8 kB / 0.9487 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.2653, allocations: 63.41 kB / 0.9488 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.2654, allocations: 20 kB / 0.9488 GB, free: 6.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004226/0.2658, allocations: 265.5 kB / 0.949 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.2659, allocations: 75.09 kB / 0.9491 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.2661, allocations: 83.2 kB / 0.9492 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.2661, allocations: 8 kB / 0.9492 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.2662, allocations: 3.984 kB / 0.9492 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2662, allocations: 0 / 0.9492 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.267, allocations: 0.6219 MB / 0.9498 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.267, allocations: 3.938 kB / 0.9498 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/0.2679, allocations: 87.89 kB / 0.9499 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.2679, allocations: 0 / 0.9499 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.268, allocations: 8 kB / 0.9499 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.268, allocations: 7.984 kB / 0.9499 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.268, allocations: 4 kB / 0.9499 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.2704, allocations: 0.7484 MB / 0.9506 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.2708, allocations: 196 kB / 0.9508 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.2709, allocations: 12 kB / 0.9508 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.2717, allocations: 40.09 kB / 0.9509 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.2718, allocations: 35.94 kB / 0.9509 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.2719, allocations: 23.98 kB / 0.9509 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006449/0.2725, allocations: 423.1 kB / 0.9513 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.02e-07/0.2725, allocations: 0 / 0.9513 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008193/0.2733, allocations: 215.3 kB / 0.9515 GB, free: 3.297 MB / 0.5886 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 (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.0001746/0.2735, allocations: 119.2 kB / 0.9517 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.2759, allocations: 0.8043 MB / 0.9524 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.276, allocations: 0 / 0.9524 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.2767, allocations: 224.3 kB / 0.9527 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.2785, allocations: 187.2 kB / 0.9528 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.2814, allocations: 1.385 MB / 0.9542 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.2819, allocations: 0.922 MB / 0.9551 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007012/0.2827, allocations: 93.11 kB / 0.9552 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.2829, allocations: 43.44 kB / 0.9552 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of SimCode: time 9.11e-07/0.2829, allocations: 0 / 0.9552 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.02288/0.3058, allocations: 6.898 MB / 0.9619 GB, free: 8.586 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)