Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01361/0.01362, allocations: 223 kB / 15.17 MB, free: 5.922 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001172/0.001172, allocations: 178.5 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.154/4.154, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.37/4.37, allocations: 472.3 MB / 0.9017 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005175, allocations: 8 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.765, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.009119/0.7742, allocations: 3.537 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005003/0.7792, allocations: 1.263 MB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.7806, allocations: 24.25 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.781, allocations: 59.39 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.7827, allocations: 188.5 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.7851, allocations: 308.9 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002514/0.7876, allocations: 0.8534 MB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.7889, allocations: 296.9 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.7898, allocations: 231.7 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.7906, allocations: 241.4 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.7908, allocations: 23.25 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.791, allocations: 23.69 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.7913, allocations: 93.58 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.7916, allocations: 157.5 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.7936, allocations: 0.7975 MB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.7937, allocations: 4 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.559e-06/0.7937, allocations: 0.9688 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.328e-05/0.7938, allocations: 3.938 kB / 1.112 GB, free: 208 MB / 0.7292 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.003098/0.7969, allocations: 0.9563 MB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.7969, allocations: 12.31 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.7972, allocations: 100.2 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.7974, allocations: 87.58 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.7988, allocations: 0.5341 MB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.7989, allocations: 41.44 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.799, allocations: 65.5 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.8008, allocations: 0.6049 MB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.8009, allocations: 5.219 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.801, allocations: 24.84 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.801, allocations: 13 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.8028, allocations: 474.8 kB / 1.115 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.8075, allocations: 2.022 MB / 1.117 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.8091, allocations: 468.3 kB / 1.117 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.8099, allocations: 246.8 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.81, allocations: 5.844 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.8108, allocations: 272.8 kB / 1.118 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=49): time 3.487e-06/0.8109, allocations: 0 / 1.118 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.002133/0.813, allocations: 0.5929 MB / 1.118 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.8131, allocations: 57.59 kB / 1.118 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.8138, allocations: 442.5 kB / 1.119 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.8139, allocations: 36.95 kB / 1.119 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.8142, allocations: 321.2 kB / 1.119 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8144, allocations: 168 kB / 1.119 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.8145, allocations: 14.12 kB / 1.119 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.8147, allocations: 371.2 kB / 1.12 GB, free: 203.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.8154, allocations: 170.1 kB / 1.12 GB, free: 203.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/0.8161, allocations: 251.5 kB / 1.12 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.8168, allocations: 226.3 kB / 1.12 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.8169, allocations: 0.9688 kB / 1.12 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001819/0.8187, allocations: 0.5726 MB / 1.121 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.8188, allocations: 182.8 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8189, allocations: 4.734 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.8189, allocations: 5.906 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/0.8199, allocations: 115.8 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.8199, allocations: 4.906 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.8206, allocations: 74.14 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.8207, allocations: 21.17 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.8207, allocations: 3.5 kB / 1.121 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/0.8222, allocations: 0.49 MB / 1.122 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8222, allocations: 2.375 kB / 1.122 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8222, allocations: 4.875 kB / 1.122 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.8231, allocations: 116.4 kB / 1.122 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.8232, allocations: 5.188 kB / 1.122 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.8238, allocations: 67.55 kB / 1.122 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.8239, allocations: 17.47 kB / 1.122 GB, free: 202.3 MB / 0.7292 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.0004852/0.8244, allocations: 291.3 kB / 1.122 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.8245, allocations: 57.84 kB / 1.122 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.8247, allocations: 64.55 kB / 1.122 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.8247, allocations: 12.11 kB / 1.122 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.8248, allocations: 0 / 1.122 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.8248, allocations: 3.812 kB / 1.122 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.8278, allocations: 1.192 MB / 1.123 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.8279, allocations: 0 / 1.123 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.8289, allocations: 98.95 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.8289, allocations: 6.75 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.829, allocations: 8.156 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.829, allocations: 2.125 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.829, allocations: 0.6562 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.8314, allocations: 0.7717 MB / 1.124 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.8319, allocations: 167.8 kB / 1.125 GB, free: 200.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.832, allocations: 16.72 kB / 1.125 GB, free: 200.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.8326, allocations: 35.53 kB / 1.125 GB, free: 200.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.8328, allocations: 43 kB / 1.125 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.8328, allocations: 10.48 kB / 1.125 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005527/0.8334, allocations: 305.2 kB / 1.125 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8334, allocations: 0 / 1.125 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001074/0.8345, allocations: 255.5 kB / 1.125 GB, free: 200.5 MB / 0.7292 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.002527/0.837, allocations: 1.336 MB / 1.126 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.8393, allocations: 0.7812 MB / 1.127 GB, free: 199.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8394, allocations: 0 / 1.127 GB, free: 199.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007255/0.8401, allocations: 225 kB / 1.127 GB, free: 199.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.8415, allocations: 145 kB / 1.128 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.8517, allocations: 3.591 MB / 1.131 GB, free: 197.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.8523, allocations: 0.9016 MB / 1.132 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000664/0.853, allocations: 73.75 kB / 1.132 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.8534, allocations: 220.3 kB / 1.132 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/0.8534, allocations: 0 / 1.132 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.9019, allocations: 11.04 MB / 1.143 GB, free: 195.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003217/0.9023, allocations: 196.5 kB / 1.143 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.141/4.043, allocations: 1.203 kB / 1.143 GB, free: 195.4 MB / 0.7292 GB