Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 292.6 MB / 307.8 MB, free: 7.098 MB / 234.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.001412/0.001412, allocations: 181.5 kB / 376.5 MB, free: 4.387 MB / 298.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.565/1.565, allocations: 225.7 MB / 0.655 GB, free: 13.07 MB / 490.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.0008745/0.0008742, allocations: 91.64 kB / 0.7711 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 12 kB / 0.897 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7598, allocations: 118.2 MB / 1.012 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.0036/0.7634, allocations: 3.131 MB / 1.015 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.7658, allocations: 1.254 MB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.7662, allocations: 29.66 kB / 1.017 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.7665, allocations: 86.3 kB / 1.017 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.767, allocations: 133.7 kB / 1.017 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.7681, allocations: 463 kB / 1.017 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007442/0.7688, allocations: 0.8388 MB / 1.018 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.7693, allocations: 333.4 kB / 1.018 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.7696, allocations: 270.9 kB / 1.019 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.7699, allocations: 257.6 kB / 1.019 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.77, allocations: 23.62 kB / 1.019 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.268e-05/0.7701, allocations: 22.56 kB / 1.019 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.7702, allocations: 116.8 kB / 1.019 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.7704, allocations: 306.6 kB / 1.019 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.7709, allocations: 0.6236 MB / 1.02 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7709, allocations: 0 / 1.02 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.562e-06/0.7709, allocations: 0.9062 kB / 1.02 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.7709, allocations: 0 / 1.02 GB, free: 56.45 MB / 0.7136 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.001595/0.7725, allocations: 1.055 MB / 1.021 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7725, allocations: 12.03 kB / 1.021 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.7727, allocations: 95.88 kB / 1.021 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008257/0.7735, allocations: 0.5947 MB / 1.022 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.7736, allocations: 103.6 kB / 1.022 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.7737, allocations: 50.28 kB / 1.022 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.7747, allocations: 0.6162 MB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.7748, allocations: 2.375 kB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.7748, allocations: 20.91 kB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.7748, allocations: 13.66 kB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.7757, allocations: 445.2 kB / 1.023 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.7781, allocations: 2.129 MB / 1.025 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.7792, allocations: 0.5206 MB / 1.026 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.7796, allocations: 220.5 kB / 1.026 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.7797, allocations: 6.859 kB / 1.026 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005915/0.7803, allocations: 289.1 kB / 1.026 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.455e-06/0.7803, allocations: 4 kB / 1.026 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.001316/0.7816, allocations: 0.6429 MB / 1.027 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.7817, allocations: 87.73 kB / 1.027 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.7822, allocations: 0.6064 MB / 1.027 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.7823, allocations: 38.7 kB / 1.027 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.7825, allocations: 350.9 kB / 1.028 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.7826, allocations: 162 kB / 1.028 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.7826, allocations: 12.41 kB / 1.028 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.7827, allocations: 323 kB / 1.028 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.7831, allocations: 185.4 kB / 1.028 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.7836, allocations: 290.2 kB / 1.029 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.7844, allocations: 490.5 kB / 1.029 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7844, allocations: 3.938 kB / 1.029 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001024/0.7854, allocations: 0.6162 MB / 1.03 GB, free: 52.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.7855, allocations: 186.1 kB / 1.03 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.7855, allocations: 2.969 kB / 1.03 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7856, allocations: 5.766 kB / 1.03 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.786, allocations: 118.5 kB / 1.03 GB, free: 52.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.7861, allocations: 5.469 kB / 1.03 GB, free: 52.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.7864, allocations: 68.44 kB / 1.03 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.7865, allocations: 18.66 kB / 1.03 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.7865, allocations: 6.812 kB / 1.03 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008726/0.7874, allocations: 0.5069 MB / 1.031 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7874, allocations: 2.75 kB / 1.031 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.7874, allocations: 5.25 kB / 1.031 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.7878, allocations: 104.5 kB / 1.031 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7878, allocations: 6.922 kB / 1.031 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.7881, allocations: 59.61 kB / 1.031 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.7882, allocations: 26.06 kB / 1.031 GB, free: 52.39 MB / 0.7136 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.0002522/0.7885, allocations: 274 kB / 1.031 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.7885, allocations: 77.09 kB / 1.031 GB, free: 52.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.7887, allocations: 84.34 kB / 1.031 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7887, allocations: 3.5 kB / 1.031 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.7887, allocations: 0 / 1.031 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7887, allocations: 4.734 kB / 1.031 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.7894, allocations: 0.6123 MB / 1.032 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7894, allocations: 9.031 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.7899, allocations: 87.5 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7899, allocations: 3 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.7899, allocations: 13.25 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.7899, allocations: 0.6562 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7899, allocations: 3.125 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.7914, allocations: 0.7551 MB / 1.033 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.7916, allocations: 194.8 kB / 1.033 GB, free: 51.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.7917, allocations: 8.125 kB / 1.033 GB, free: 51.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.7921, allocations: 52.83 kB / 1.033 GB, free: 51.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.7922, allocations: 28.56 kB / 1.033 GB, free: 51.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.7923, allocations: 15.2 kB / 1.033 GB, free: 51.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004575/0.7927, allocations: 423.8 kB / 1.033 GB, free: 51.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7927, allocations: 1.375 kB / 1.033 GB, free: 51.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006071/0.7933, allocations: 217.8 kB / 1.034 GB, free: 51.52 MB / 0.7136 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.0001616/0.7935, allocations: 125.2 kB / 1.034 GB, free: 51.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.795, allocations: 0.8055 MB / 1.034 GB, free: 51.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.795, allocations: 1.406 kB / 1.034 GB, free: 51.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.7955, allocations: 221.5 kB / 1.035 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.7964, allocations: 179.9 kB / 1.035 GB, free: 51.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.7985, allocations: 1.389 MB / 1.036 GB, free: 50.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.7988, allocations: 0.9114 MB / 1.037 GB, free: 49.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004402/0.7993, allocations: 98.22 kB / 1.037 GB, free: 49.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.7994, allocations: 46.44 kB / 1.037 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.7994, allocations: 0.9688 kB / 1.037 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.01359/0.813, allocations: 6.996 MB / 1.044 GB, free: 49.43 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)