Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01086/0.01086, allocations: 220.3 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.001093/0.001093, allocations: 175.6 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 4.024/4.024, 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.32/4.32, allocations: 472.3 MB / 0.9018 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 16 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6767, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00407/0.6808, allocations: 3.569 MB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.6838, allocations: 1.417 MB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.6845, allocations: 31.91 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.6847, allocations: 64.73 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007839/0.6855, allocations: 198.1 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.6871, allocations: 0.5184 MB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.6885, allocations: 1.047 MB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006414/0.6892, allocations: 340.8 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.6897, allocations: 322.4 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.6901, allocations: 335.4 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.6902, allocations: 25.59 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.6903, allocations: 25.22 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.6905, allocations: 135 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.6906, allocations: 168.7 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008223/0.6915, allocations: 0.7704 MB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.6915, allocations: 0 / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.613e-06/0.6915, allocations: 1.031 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.6915, allocations: 2.938 kB / 1.113 GB, free: 207.4 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002372/0.6939, allocations: 1.219 MB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.694, allocations: 8.469 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.6942, allocations: 120 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.6957, allocations: 0.6803 MB / 1.115 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.6958, allocations: 84.98 kB / 1.115 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.6959, allocations: 65.34 kB / 1.115 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.6976, allocations: 0.6974 MB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.6976, allocations: 1.312 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.6977, allocations: 29.23 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.6977, allocations: 18.75 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.6992, allocations: 0.5064 MB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.7033, allocations: 2.079 MB / 1.118 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.7052, allocations: 0.6399 MB / 1.119 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.7059, allocations: 277.8 kB / 1.119 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.706, allocations: 6.938 kB / 1.119 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009015/0.7069, allocations: 330 kB / 1.119 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 3.639e-06/0.7069, allocations: 0 / 1.119 GB, free: 203.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.002229/0.7092, allocations: 0.7547 MB / 1.12 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7092, allocations: 85.38 kB / 1.12 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7105, allocations: 0.7176 MB / 1.121 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.7106, allocations: 37.05 kB / 1.121 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.7109, allocations: 417 kB / 1.121 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.7111, allocations: 205.9 kB / 1.121 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.7112, allocations: 13.75 kB / 1.121 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.7112, allocations: 333.8 kB / 1.122 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.7119, allocations: 198.5 kB / 1.122 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.7126, allocations: 291.6 kB / 1.122 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.7133, allocations: 231.4 kB / 1.122 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-06/0.7133, allocations: 0 / 1.122 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001816/0.7152, allocations: 0.6433 MB / 1.123 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.7153, allocations: 141.5 kB / 1.123 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.7153, allocations: 2.062 kB / 1.123 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7153, allocations: 5 kB / 1.123 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.7162, allocations: 146 kB / 1.123 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.7162, allocations: 5.391 kB / 1.123 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.7169, allocations: 72.7 kB / 1.123 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.717, allocations: 24.08 kB / 1.124 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.717, allocations: 7.562 kB / 1.124 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00116/0.7182, allocations: 480.9 kB / 1.124 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.7182, allocations: 2.344 kB / 1.124 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7182, allocations: 7.344 kB / 1.124 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.7189, allocations: 128.7 kB / 1.124 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.7189, allocations: 8.016 kB / 1.124 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.7195, allocations: 61.84 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.7196, allocations: 17.56 kB / 1.124 GB, free: 201.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0004793/0.72, allocations: 292.6 kB / 1.124 GB, free: 201.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.7202, allocations: 102.4 kB / 1.125 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.7204, allocations: 102.7 kB / 1.125 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.055e-06/0.7205, allocations: 10.94 kB / 1.125 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7205, allocations: 0 / 1.125 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.7205, allocations: 6.797 kB / 1.125 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.7234, allocations: 1.418 MB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.957e-06/0.7234, allocations: 0.6562 kB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/0.7242, allocations: 106.7 kB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.7242, allocations: 2.188 kB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.7243, allocations: 14.16 kB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.7243, allocations: 1.188 kB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.7243, allocations: 5.125 kB / 1.126 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.7266, allocations: 0.9595 MB / 1.127 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.727, allocations: 216.6 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7272, allocations: 12.44 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.7278, allocations: 42.06 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7279, allocations: 35.03 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.728, allocations: 19.52 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008492/0.7288, allocations: 0.4956 MB / 1.128 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.3e-07/0.7288, allocations: 0 / 1.128 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001005/0.7298, allocations: 263.7 kB / 1.128 GB, free: 199.2 MB / 0.7292 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.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0001605/0.73, allocations: 126.6 kB / 1.128 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.7321, allocations: 0.7599 MB / 1.129 GB, free: 198.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.7321, allocations: 0.7188 kB / 1.129 GB, free: 198.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.7329, allocations: 270.8 kB / 1.129 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.7344, allocations: 227.9 kB / 1.13 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.7378, allocations: 1.783 MB / 1.131 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.7384, allocations: 1.002 MB / 1.132 GB, free: 197 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007737/0.7392, allocations: 109.3 kB / 1.132 GB, free: 197 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.7395, allocations: 60.08 kB / 1.132 GB, free: 197 MB / 0.7292 GB Notification: Performance of SimCode: time 1.712e-06/0.7395, allocations: 1.625 kB / 1.132 GB, free: 197 MB / 0.7292 GB Notification: Performance of Templates: time 0.02605/0.7655, allocations: 8.333 MB / 1.141 GB, free: 196.9 MB / 0.7292 GB