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: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01058/0.01058, allocations: 222.8 kB / 15.17 MB, free: 6 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.001134/0.001134, allocations: 177.7 kB / 16.06 MB, free: 5.871 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 3.876/3.876, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.201/4.201, allocations: 472.3 MB / 0.9018 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 16 kB / 1.008 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.551, allocations: 98.71 MB / 1.104 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006611/0.5577, allocations: 3.535 MB / 1.107 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004091/0.5618, allocations: 1.267 MB / 1.109 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.5628, allocations: 23.88 kB / 1.109 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.5631, allocations: 63.34 kB / 1.109 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.5643, allocations: 182.4 kB / 1.109 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.5661, allocations: 308.8 kB / 1.109 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.5678, allocations: 0.8539 MB / 1.11 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000808/0.5687, allocations: 298.1 kB / 1.11 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.5692, allocations: 222.8 kB / 1.111 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.5696, allocations: 243.2 kB / 1.111 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.5698, allocations: 25.41 kB / 1.111 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.5699, allocations: 24 kB / 1.111 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5701, allocations: 99.47 kB / 1.111 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5703, allocations: 153.3 kB / 1.111 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.5715, allocations: 0.7897 MB / 1.112 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.622e-06/0.5715, allocations: 7.938 kB / 1.112 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.967e-06/0.5716, allocations: 0 / 1.112 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.5716, allocations: 0 / 1.112 GB, free: 2.625 MB / 0.5105 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.002872/0.5745, allocations: 0.9643 MB / 1.113 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5746, allocations: 8.906 kB / 1.113 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.5749, allocations: 87.02 kB / 1.113 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.5765, allocations: 0.5303 MB / 1.113 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.5766, allocations: 45.31 kB / 1.113 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.5768, allocations: 64.83 kB / 1.114 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.5791, allocations: 0.6044 MB / 1.114 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.5792, allocations: 7.938 kB / 1.114 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.5793, allocations: 20 kB / 1.114 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.5794, allocations: 12 kB / 1.114 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.5819, allocations: 463.5 kB / 1.115 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00729/0.5892, allocations: 2.032 MB / 1.117 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.5916, allocations: 456.9 kB / 1.117 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.5928, allocations: 250 kB / 1.117 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.5929, allocations: 8.391 kB / 1.117 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.5942, allocations: 269.3 kB / 1.118 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 6.985e-06/0.5942, allocations: 0 / 1.118 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.003253/0.5975, allocations: 0.5922 MB / 1.118 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.5977, allocations: 63.83 kB / 1.118 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.5989, allocations: 442 kB / 1.119 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/0.599, allocations: 33.7 kB / 1.119 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.5995, allocations: 325 kB / 1.119 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.5999, allocations: 165.6 kB / 1.119 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.6, allocations: 12 kB / 1.119 GB, free: 11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002982/0.6003, allocations: 366.8 kB / 1.119 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.6013, allocations: 173 kB / 1.12 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.6025, allocations: 257.8 kB / 1.12 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.6034, allocations: 223.9 kB / 1.12 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.906e-06/0.6034, allocations: 4 kB / 1.12 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001539/0.605, allocations: 0.5781 MB / 1.121 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.6051, allocations: 175.9 kB / 1.121 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.647e-06/0.6052, allocations: 0 / 1.121 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.6052, allocations: 8 kB / 1.121 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.6058, allocations: 111.9 kB / 1.121 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.6059, allocations: 11.92 kB / 1.121 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.6064, allocations: 71.5 kB / 1.121 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.6065, allocations: 16 kB / 1.121 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.6065, allocations: 4 kB / 1.121 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/0.6078, allocations: 0.4911 MB / 1.122 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-06/0.6078, allocations: 0 / 1.122 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6078, allocations: 4 kB / 1.122 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.6084, allocations: 111.8 kB / 1.122 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.6084, allocations: 8.203 kB / 1.122 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.6088, allocations: 75.5 kB / 1.122 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.6089, allocations: 19.98 kB / 1.122 GB, free: 8.227 MB / 0.5261 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.0004873/0.6094, allocations: 287.9 kB / 1.122 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.6095, allocations: 59.33 kB / 1.122 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.6097, allocations: 65.59 kB / 1.122 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.203e-06/0.6097, allocations: 4 kB / 1.122 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.6097, allocations: 3.953 kB / 1.122 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.355e-06/0.6098, allocations: 3.984 kB / 1.122 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.6123, allocations: 1.189 MB / 1.123 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-06/0.6124, allocations: 0 / 1.123 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.613, allocations: 95.88 kB / 1.123 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-06/0.613, allocations: 0 / 1.123 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.6131, allocations: 15.95 kB / 1.123 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.788e-06/0.6131, allocations: 4 kB / 1.123 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-06/0.6131, allocations: 4 kB / 1.123 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.6151, allocations: 0.7718 MB / 1.124 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.6154, allocations: 168.4 kB / 1.124 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.6155, allocations: 12 kB / 1.124 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.6159, allocations: 39.84 kB / 1.124 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6161, allocations: 40.38 kB / 1.124 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.526e-05/0.6161, allocations: 15.94 kB / 1.124 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000505/0.6166, allocations: 306.9 kB / 1.125 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.07e-07/0.6167, allocations: 0 / 1.125 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009563/0.6176, allocations: 259 kB / 1.125 GB, free: 4.809 MB / 0.5261 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.0001838/0.6178, allocations: 115.2 kB / 1.125 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.6198, allocations: 0.7857 MB / 1.126 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.155e-06/0.6199, allocations: 0 / 1.126 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006063/0.6205, allocations: 222.3 kB / 1.126 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.6215, allocations: 134.1 kB / 1.126 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.6254, allocations: 1.633 MB / 1.128 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.6261, allocations: 0.9061 MB / 1.129 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005943/0.6267, allocations: 68.56 kB / 1.129 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.6269, allocations: 39.44 kB / 1.129 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of SimCode: time 1.687e-06/0.6269, allocations: 0 / 1.129 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of Templates: time 0.01763/0.6445, allocations: 5.748 MB / 1.134 GB, free: 11.15 MB / 0.5417 GB