Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.014/5.014, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002434/0.002433, allocations: 359.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.173/4.173, allocations: 410.7 MB / 1.113 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001906/0.001905, allocations: 188.3 kB / 1.226 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005037, allocations: 16 kB / 1.349 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7512, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.9599, allocations: 139.4 MB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.9602, allocations: 75.97 kB / 1.598 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05233/1.013, allocations: 13.75 MB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545e-06/1.013, allocations: 0 / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.741e-05/1.013, allocations: 20 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002904/1.016, allocations: 1.181 MB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.016, allocations: 11.62 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/1.016, allocations: 114.7 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.017, allocations: 0.593 MB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/1.017, allocations: 70 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.018, allocations: 96.73 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/1.02, allocations: 0.8649 MB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/1.02, allocations: 0 / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.02, allocations: 36 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/1.02, allocations: 20 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.022, allocations: 0.6389 MB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005129/1.027, allocations: 2.518 MB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/1.029, allocations: 1.323 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009435/1.03, allocations: 369.8 kB / 1.619 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.948e-05/1.03, allocations: 16.48 kB / 1.619 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.031, allocations: 354.1 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=69): time 3.687e-06/1.031, allocations: 0 / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69): time 0.002579/1.034, allocations: 0.828 MB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/1.034, allocations: 162.8 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/1.035, allocations: 0.5949 MB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/1.035, allocations: 45.64 kB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/1.035, allocations: 409.7 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/1.036, allocations: 240.5 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/1.036, allocations: 12 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/1.036, allocations: 334.7 kB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/1.036, allocations: 224.6 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/1.037, allocations: 341 kB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007881/1.038, allocations: 256.3 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.038, allocations: 0 / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001909/1.04, allocations: 0.6665 MB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/1.04, allocations: 98.48 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.04, allocations: 0 / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.04, allocations: 5.25 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.041, allocations: 148.8 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.041, allocations: 2.188 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/1.042, allocations: 115.6 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/1.042, allocations: 19.95 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.042, allocations: 11.69 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009889/1.043, allocations: 460.2 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.043, allocations: 4 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/1.043, allocations: 4 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007961/1.044, allocations: 119.8 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.044, allocations: 4.531 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/1.045, allocations: 77.38 kB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/1.045, allocations: 20.59 kB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0005255/1.045, allocations: 290 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.045, allocations: 79.02 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/1.046, allocations: 86.2 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.046, allocations: 8 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.046, allocations: 0 / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/1.046, allocations: 8.547 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/1.049, allocations: 1.61 MB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.049, allocations: 2.375 kB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.05, allocations: 135.8 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/1.05, allocations: 1.656 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/1.05, allocations: 12 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.05, allocations: 4.078 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.05, allocations: 3.984 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/1.053, allocations: 1.036 MB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/1.053, allocations: 156 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.053, allocations: 16.19 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/1.054, allocations: 55.92 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/1.054, allocations: 44.44 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/1.054, allocations: 16 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006928/1.055, allocations: 428.1 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/1.055, allocations: 0 / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009247/1.056, allocations: 295.2 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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 Backend phase and start with SimCode phase: time 0.0002223/1.056, allocations: 129.1 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002291/1.058, allocations: 0.8248 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.058, allocations: 0 / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/1.059, allocations: 311.2 kB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.061, allocations: 140.7 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/1.064, allocations: 1.821 MB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/1.065, allocations: 0.998 MB / 1.632 GB, free: 109 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006241/1.065, allocations: 87.73 kB / 1.632 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/1.066, allocations: 63.36 kB / 1.632 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/1.066, allocations: 3.938 kB / 1.632 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.02086/1.086, allocations: 6.612 MB / 1.639 GB, free: 102.4 MB / 0.8542 GB