Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.01537/0.01537, allocations: 92.88 kB / 15.04 MB, free: 5.582 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.001978/0.001978, allocations: 173.5 kB / 15.92 MB, free: 5.555 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.302/2.302, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.624/2.624, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 11 kB / 0.6243 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 106.2 MB / 0.7281 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005994/0.2356, allocations: 3.435 MB / 0.7314 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.2394, allocations: 1.287 MB / 0.7327 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.2403, allocations: 23.88 kB / 0.7327 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.2406, allocations: 63.34 kB / 0.7327 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.2417, allocations: 215.3 kB / 0.733 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.2431, allocations: 311.5 kB / 0.7332 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2448, allocations: 0.5977 MB / 0.7338 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/0.2455, allocations: 299.5 kB / 0.7341 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.246, allocations: 238.9 kB / 0.7343 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.2464, allocations: 242.6 kB / 0.7346 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2466, allocations: 24 kB / 0.7346 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2467, allocations: 24 kB / 0.7346 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.2469, allocations: 95.53 kB / 0.7347 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.2472, allocations: 153.3 kB / 0.7349 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.2489, allocations: 0.795 MB / 0.7356 GB, free: 300 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2489, allocations: 0 / 0.7356 GB, free: 300 kB / 0.5573 GB Notification: Performance of FrontEnd: time 7.264e-06/0.2489, allocations: 0 / 0.7356 GB, free: 300 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.249, allocations: 3.938 kB / 0.7356 GB, free: 296 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003918/0.2529, allocations: 0.9602 MB / 0.7366 GB, free: 15.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.253, allocations: 12.03 kB / 0.7366 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/0.2533, allocations: 102.5 kB / 0.7367 GB, free: 15.14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.2536, allocations: 86.75 kB / 0.7368 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2556, allocations: 0.5252 MB / 0.7373 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.2558, allocations: 45.31 kB / 0.7373 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.256, allocations: 63.91 kB / 0.7374 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.2588, allocations: 0.5998 MB / 0.738 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.2589, allocations: 7.938 kB / 0.738 GB, free: 13.76 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.259, allocations: 20 kB / 0.738 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.2591, allocations: 16 kB / 0.738 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.2617, allocations: 468.9 kB / 0.7385 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007193/0.269, allocations: 2.024 MB / 0.7404 GB, free: 11.17 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.2714, allocations: 457.9 kB / 0.7409 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.2716, allocations: 4.438 kB / 0.7409 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.2729, allocations: 261.3 kB / 0.7411 GB, free: 10.44 MB / 0.573 GB Notification: Performance of pre-optimization done (n=49): time 5.09e-06/0.2729, allocations: 0 / 0.7411 GB, free: 10.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.003658/0.2766, allocations: 0.5922 MB / 0.7417 GB, free: 9.84 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.2767, allocations: 59.84 kB / 0.7418 GB, free: 9.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.278, allocations: 450.5 kB / 0.7422 GB, free: 9.32 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.2781, allocations: 37.7 kB / 0.7422 GB, free: 9.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/0.2787, allocations: 316.3 kB / 0.7425 GB, free: 8.965 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.2791, allocations: 173.5 kB / 0.7427 GB, free: 8.793 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.2791, allocations: 8 kB / 0.7427 GB, free: 8.785 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.2794, allocations: 366.8 kB / 0.7431 GB, free: 8.418 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2806, allocations: 177 kB / 0.7432 GB, free: 8.246 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.2819, allocations: 249.8 kB / 0.7435 GB, free: 7.977 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2831, allocations: 223.9 kB / 0.7437 GB, free: 7.758 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.2832, allocations: 4 kB / 0.7437 GB, free: 7.754 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00304/0.2862, allocations: 0.5702 MB / 0.7442 GB, free: 7.168 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/0.2863, allocations: 33.7 kB / 0.7443 GB, free: 7.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2864, allocations: 0 / 0.7443 GB, free: 7.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.217e-05/0.2864, allocations: 8 kB / 0.7443 GB, free: 7.121 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.288, allocations: 115.8 kB / 0.7444 GB, free: 7.008 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/0.2881, allocations: 4.25 kB / 0.7444 GB, free: 7.004 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.2892, allocations: 71.5 kB / 0.7445 GB, free: 6.934 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.2893, allocations: 20 kB / 0.7445 GB, free: 6.914 MB / 0.573 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 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0006579/0.29, allocations: 205.7 kB / 0.7447 GB, free: 6.703 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.2902, allocations: 71.19 kB / 0.7447 GB, free: 6.633 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.2905, allocations: 57.59 kB / 0.7448 GB, free: 6.574 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.2905, allocations: 4 kB / 0.7448 GB, free: 6.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2906, allocations: 0 / 0.7448 GB, free: 6.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.2906, allocations: 7.984 kB / 0.7448 GB, free: 6.562 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.294, allocations: 1.189 MB / 0.746 GB, free: 5.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2941, allocations: 0 / 0.746 GB, free: 5.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.295, allocations: 99.88 kB / 0.7461 GB, free: 5.223 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.2951, allocations: 0 / 0.7461 GB, free: 5.223 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.2951, allocations: 12 kB / 0.7461 GB, free: 5.211 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.2952, allocations: 8 kB / 0.7461 GB, free: 5.203 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2952, allocations: 3.984 kB / 0.7461 GB, free: 5.199 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.2975, allocations: 0.768 MB / 0.7468 GB, free: 4.414 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.2979, allocations: 172.4 kB / 0.747 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.298, allocations: 12 kB / 0.747 GB, free: 4.215 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.2985, allocations: 31.88 kB / 0.747 GB, free: 4.184 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.2987, allocations: 44.38 kB / 0.7471 GB, free: 4.141 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.2988, allocations: 12 kB / 0.7471 GB, free: 4.129 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005668/0.2994, allocations: 306.9 kB / 0.7474 GB, free: 3.832 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.984e-06/0.2994, allocations: 4 kB / 0.7474 GB, free: 3.828 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006863/0.3001, allocations: 139.5 kB / 0.7475 GB, free: 3.691 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.002712/0.3028, allocations: 1.344 MB / 0.7488 GB, free: 2.316 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.3044, allocations: 489.5 kB / 0.7493 GB, free: 1.824 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3045, allocations: 4 kB / 0.7493 GB, free: 1.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/0.3052, allocations: 214.4 kB / 0.7495 GB, free: 1.613 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3063, allocations: 129.9 kB / 0.7496 GB, free: 1.488 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3169, allocations: 4.754 MB / 0.7543 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.3175, allocations: 0.9057 MB / 0.7552 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005117/0.3181, allocations: 64.58 kB / 0.7552 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.3186, allocations: 219.4 kB / 0.7554 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/0.3186, allocations: 0 / 0.7554 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.3658, allocations: 10.65 MB / 0.7658 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.3661, allocations: 193.3 kB / 0.766 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.389, allocations: 0 / 0.766 GB, free: 0.7227 MB / 0.5886 GB