Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01485/0.01485, allocations: 88.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001805/0.001805, allocations: 170.1 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.073/2.073, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.665/2.665, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004938, allocations: 13.91 kB / 0.6243 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006598/0.2452, allocations: 3.691 MB / 0.7317 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004576/0.2499, allocations: 1.497 MB / 0.7331 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008952/0.2508, allocations: 31.81 kB / 0.7331 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.2511, allocations: 67.17 kB / 0.7332 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.2525, allocations: 243.2 kB / 0.7334 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.2554, allocations: 0.5186 MB / 0.734 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.2583, allocations: 0.7821 MB / 0.7347 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.2595, allocations: 359.4 kB / 0.7351 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.2606, allocations: 362.2 kB / 0.7354 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.2614, allocations: 341.9 kB / 0.7357 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.2616, allocations: 28 kB / 0.7358 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2617, allocations: 24 kB / 0.7358 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.262, allocations: 143.2 kB / 0.7359 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.2623, allocations: 169.1 kB / 0.7361 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.264, allocations: 0.8146 MB / 0.7369 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2641, allocations: 4 kB / 0.7369 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2641, allocations: 0 / 0.7369 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.2641, allocations: 0 / 0.7369 GB, free: 1.078 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004993/0.2691, allocations: 1.247 MB / 0.7381 GB, free: 15.78 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/0.2692, allocations: 12.02 kB / 0.7381 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000363/0.2696, allocations: 118.4 kB / 0.7382 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.27, allocations: 122.5 kB / 0.7383 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.273, allocations: 0.6996 MB / 0.739 GB, free: 14.78 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.2732, allocations: 83.69 kB / 0.7391 GB, free: 14.69 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.2735, allocations: 68 kB / 0.7392 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.2765, allocations: 0.725 MB / 0.7399 GB, free: 13.86 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.2766, allocations: 4 kB / 0.7399 GB, free: 13.86 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.2768, allocations: 31.98 kB / 0.7399 GB, free: 13.83 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.2768, allocations: 16 kB / 0.7399 GB, free: 13.81 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.2796, allocations: 0.5321 MB / 0.7404 GB, free: 13.28 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007698/0.2873, allocations: 2.283 MB / 0.7427 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/0.2911, allocations: 0.6505 MB / 0.7433 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/0.2912, allocations: 8.562 kB / 0.7433 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/0.2928, allocations: 331 kB / 0.7436 GB, free: 9.922 MB / 0.573 GB Notification: Performance of pre-optimization done (n=60): time 5.13e-06/0.2928, allocations: 0 / 0.7436 GB, free: 9.922 MB / 0.573 GB Notification: Performance of matching and sorting (n=60): time 0.00401/0.2968, allocations: 0.7637 MB / 0.7444 GB, free: 9.156 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.2969, allocations: 93.8 kB / 0.7445 GB, free: 9.047 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.2992, allocations: 0.748 MB / 0.7452 GB, free: 8.273 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.2993, allocations: 41.7 kB / 0.7452 GB, free: 8.227 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/0.3001, allocations: 448.5 kB / 0.7457 GB, free: 7.781 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.3005, allocations: 205 kB / 0.7459 GB, free: 7.578 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.3006, allocations: 12 kB / 0.7459 GB, free: 7.566 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3008, allocations: 330 kB / 0.7462 GB, free: 7.238 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.302, allocations: 201.2 kB / 0.7464 GB, free: 7.043 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3034, allocations: 308.4 kB / 0.7467 GB, free: 6.707 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.3047, allocations: 242.1 kB / 0.7469 GB, free: 6.469 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3047, allocations: 0 / 0.7469 GB, free: 6.469 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003173/0.3079, allocations: 0.6578 MB / 0.7475 GB, free: 5.805 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005638/0.3085, allocations: 0.8862 MB / 0.7484 GB, free: 4.852 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3085, allocations: 0 / 0.7484 GB, free: 4.852 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.3086, allocations: 8 kB / 0.7484 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.3103, allocations: 147.8 kB / 0.7486 GB, free: 4.699 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.3103, allocations: 4 kB / 0.7486 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3115, allocations: 79.28 kB / 0.7486 GB, free: 4.617 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/0.3116, allocations: 23.98 kB / 0.7487 GB, free: 4.594 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3116, allocations: 4 kB / 0.7487 GB, free: 4.59 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002554/0.3142, allocations: 0.5245 MB / 0.7492 GB, free: 4.066 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3142, allocations: 3.953 kB / 0.7492 GB, free: 4.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3143, allocations: 8 kB / 0.7492 GB, free: 4.055 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.316, allocations: 144 kB / 0.7493 GB, free: 3.914 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.316, allocations: 4 kB / 0.7493 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3171, allocations: 67.41 kB / 0.7494 GB, free: 3.844 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.3173, allocations: 16 kB / 0.7494 GB, free: 3.828 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0008099/0.3181, allocations: 297 kB / 0.7497 GB, free: 3.527 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.3185, allocations: 106.8 kB / 0.7498 GB, free: 3.422 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/0.3189, allocations: 105.2 kB / 0.7499 GB, free: 3.32 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.3189, allocations: 11.98 kB / 0.7499 GB, free: 3.309 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.319, allocations: 0 / 0.7499 GB, free: 3.309 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.319, allocations: 0 / 0.7499 GB, free: 3.309 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.3243, allocations: 1.451 MB / 0.7513 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.3244, allocations: 3.953 kB / 0.7513 GB, free: 1.801 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.3259, allocations: 115.8 kB / 0.7514 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.3259, allocations: 0 / 0.7514 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.326, allocations: 12 kB / 0.7514 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.3261, allocations: 4 kB / 0.7514 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3261, allocations: 0 / 0.7514 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.3304, allocations: 0.9785 MB / 0.7524 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/0.3311, allocations: 223.7 kB / 0.7526 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.3313, allocations: 12 kB / 0.7526 GB, free: 432 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/0.3321, allocations: 43.95 kB / 0.7527 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3323, allocations: 40.52 kB / 0.7527 GB, free: 348 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/0.3324, allocations: 23.98 kB / 0.7527 GB, free: 324 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001168/0.3336, allocations: 0.5109 MB / 0.7532 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.3336, allocations: 0 / 0.7532 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00123/0.3348, allocations: 275 kB / 0.7535 GB, free: 15.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003593/0.3384, allocations: 1.543 MB / 0.755 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002958/0.3414, allocations: 0.804 MB / 0.7558 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3415, allocations: 128 / 0.7558 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/0.3425, allocations: 279.1 kB / 0.7561 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.3443, allocations: 213.9 kB / 0.7563 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.3523, allocations: 3.637 MB / 0.7598 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.3534, allocations: 1.013 MB / 0.7608 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001357/0.3548, allocations: 119.2 kB / 0.7609 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.356, allocations: 355.3 kB / 0.7612 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of SimCode: time 1.543e-06/0.356, allocations: 0 / 0.7612 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/0.4127, allocations: 16.03 MB / 0.7769 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/0.4131, allocations: 185.9 kB / 0.7771 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/3.696, allocations: 4 kB / 0.7771 GB, free: 7.355 MB / 0.6042 GB