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.01534/0.01534, allocations: 106.8 kB / 15.06 MB, free: 5.562 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.001875/0.001875, allocations: 186.7 kB / 15.95 MB, free: 5.523 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 1.973/1.973, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.385/2.385, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000856/0.0008564, allocations: 8 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5704, allocations: 98.7 MB / 0.6833 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004148/0.5746, allocations: 3.421 MB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.5773, allocations: 1.28 MB / 0.6879 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.5779, allocations: 26.56 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.5781, allocations: 64.12 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.5788, allocations: 225 kB / 0.6882 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.5798, allocations: 307.2 kB / 0.6885 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009873/0.5808, allocations: 0.5907 MB / 0.6891 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.5814, allocations: 300.9 kB / 0.6894 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.5818, allocations: 237.7 kB / 0.6896 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.5822, allocations: 247.2 kB / 0.6898 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.5823, allocations: 23.84 kB / 0.6899 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.5824, allocations: 23.66 kB / 0.6899 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.5825, allocations: 95.42 kB / 0.69 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.5826, allocations: 153.6 kB / 0.6901 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.5837, allocations: 0.794 MB / 0.6909 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.223e-06/0.5837, allocations: 0 / 0.6909 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.402e-06/0.5837, allocations: 5.438 kB / 0.6909 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.5837, allocations: 0 / 0.6909 GB, free: 11.84 MB / 0.5261 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.001871/0.5856, allocations: 0.9567 MB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5857, allocations: 8.938 kB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.5859, allocations: 85.48 kB / 0.6919 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.5869, allocations: 0.5313 MB / 0.6924 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.587, allocations: 45.47 kB / 0.6925 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5871, allocations: 63.12 kB / 0.6925 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5886, allocations: 0.6062 MB / 0.6931 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.5887, allocations: 1.094 kB / 0.6931 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.5888, allocations: 22.25 kB / 0.6932 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5888, allocations: 14.88 kB / 0.6932 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5902, allocations: 470.3 kB / 0.6936 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.5942, allocations: 2.022 MB / 0.6956 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.5967, allocations: 451.5 kB / 0.696 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.391e-05/0.5969, allocations: 10.03 kB / 0.696 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.5985, allocations: 276.1 kB / 0.6963 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 7.749e-06/0.5985, allocations: 3.938 kB / 0.6963 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.003472/0.602, allocations: 0.5951 MB / 0.6969 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.6021, allocations: 65.3 kB / 0.6969 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.6035, allocations: 442.7 kB / 0.6974 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/0.6036, allocations: 32.17 kB / 0.6974 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.6041, allocations: 323.8 kB / 0.6977 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.6044, allocations: 167 kB / 0.6979 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.6045, allocations: 10.22 kB / 0.6979 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6047, allocations: 368.8 kB / 0.6982 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.6058, allocations: 169 kB / 0.6984 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6069, allocations: 261.5 kB / 0.6986 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.608, allocations: 225.4 kB / 0.6988 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.522e-06/0.6081, allocations: 0 / 0.6988 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002767/0.6109, allocations: 0.5703 MB / 0.6994 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.6112, allocations: 0.8226 MB / 0.7002 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6112, allocations: 2.781 kB / 0.7002 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.6113, allocations: 4.969 kB / 0.7002 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.6126, allocations: 117.1 kB / 0.7003 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.6126, allocations: 3.031 kB / 0.7003 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/0.6136, allocations: 75.58 kB / 0.7004 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6137, allocations: 18.62 kB / 0.7004 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6138, allocations: 6.031 kB / 0.7004 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/0.6162, allocations: 0.4931 MB / 0.7009 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6162, allocations: 1.594 kB / 0.7009 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6162, allocations: 4.875 kB / 0.7009 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.6174, allocations: 110 kB / 0.701 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.6174, allocations: 8.812 kB / 0.701 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008837/0.6183, allocations: 64.94 kB / 0.7011 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.6184, allocations: 18.47 kB / 0.7011 GB, free: 5.367 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.0007645/0.6192, allocations: 288.5 kB / 0.7014 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.6194, allocations: 61.2 kB / 0.7014 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.6197, allocations: 63.31 kB / 0.7015 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6198, allocations: 4.156 kB / 0.7015 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.6198, allocations: 1.781 kB / 0.7015 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.6198, allocations: 3.984 kB / 0.7015 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.6244, allocations: 1.187 MB / 0.7027 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.529e-06/0.6244, allocations: 3.938 kB / 0.7027 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6257, allocations: 98.22 kB / 0.7028 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.6257, allocations: 2.375 kB / 0.7028 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/0.6258, allocations: 10.94 kB / 0.7028 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.6258, allocations: 5.719 kB / 0.7028 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-06/0.6259, allocations: 1.344 kB / 0.7028 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.6293, allocations: 0.7767 MB / 0.7035 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.6298, allocations: 162.9 kB / 0.7037 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.63, allocations: 16.2 kB / 0.7037 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/0.6309, allocations: 37.23 kB / 0.7038 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.6311, allocations: 35.97 kB / 0.7038 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.6312, allocations: 16.88 kB / 0.7038 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008971/0.6321, allocations: 309 kB / 0.7041 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.159e-06/0.6321, allocations: 0 / 0.7041 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001917/0.6341, allocations: 250.8 kB / 0.7043 GB, free: 3.188 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.0002274/0.6343, allocations: 118.6 kB / 0.7044 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003551/0.6379, allocations: 0.7906 MB / 0.7052 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.051e-06/0.6379, allocations: 1.594 kB / 0.7052 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6391, allocations: 217.8 kB / 0.7054 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.6408, allocations: 131.8 kB / 0.7056 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.6472, allocations: 1.621 MB / 0.7071 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008129/0.6554, allocations: 0.9074 MB / 0.708 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00111/0.6566, allocations: 74.81 kB / 0.7081 GB, free: 500 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.6569, allocations: 45.81 kB / 0.7081 GB, free: 484 kB / 0.5261 GB Notification: Performance of SimCode: time 1.983e-06/0.6569, allocations: 0.7812 kB / 0.7081 GB, free: 484 kB / 0.5261 GB Notification: Performance of Templates: time 0.07017/0.7271, allocations: 5.717 MB / 0.7137 GB, free: 13.71 MB / 0.5417 GB