Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.248/2.248, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 206.2 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.0009443, allocations: 107.7 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 58.94 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3615, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.004566/0.3662, allocations: 3.309 MB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.369, allocations: 1.68 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.3695, allocations: 19.94 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.37, allocations: 110.9 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.3702, allocations: 83.38 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.3708, allocations: 307.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.3716, allocations: 1.002 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.3723, allocations: 0.6037 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.3725, allocations: 334.3 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.3728, allocations: 421.5 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.3729, allocations: 60 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.373, allocations: 60 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3731, allocations: 191.1 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.3734, allocations: 425.3 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.3741, allocations: 1.205 MB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3741, allocations: 0 / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3741, allocations: 0 / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3741, allocations: 0 / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001965/0.3761, allocations: 1.291 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3761, allocations: 11.98 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.3763, allocations: 115.5 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.3769, allocations: 0.552 MB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.3769, allocations: 70.38 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/0.377, allocations: 96.31 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3782, allocations: 0.8788 MB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.3783, allocations: 8.188 kB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.3783, allocations: 47.92 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3783, allocations: 20 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3794, allocations: 0.6168 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.3827, allocations: 2.825 MB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3839, allocations: 1.308 MB / 1.235 GB, free: 99.22 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.3844, allocations: 401.8 kB / 1.236 GB, free: 98.82 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3845, allocations: 8.656 kB / 1.236 GB, free: 98.81 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006287/0.3851, allocations: 360.3 kB / 1.236 GB, free: 98.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 2.424e-06/0.3851, allocations: 0 / 1.236 GB, free: 98.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.001356/0.3865, allocations: 0.8211 MB / 1.237 GB, free: 97.62 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.3866, allocations: 162.9 kB / 1.237 GB, free: 97.43 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.3871, allocations: 0.5577 MB / 1.238 GB, free: 96.86 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3871, allocations: 45.64 kB / 1.238 GB, free: 96.81 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.3873, allocations: 396.3 kB / 1.238 GB, free: 96.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3875, allocations: 264.1 kB / 1.238 GB, free: 96.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.3876, allocations: 126.7 kB / 1.238 GB, free: 96.02 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.3877, allocations: 382.8 kB / 1.239 GB, free: 95.64 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.3882, allocations: 244.7 kB / 1.239 GB, free: 95.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.3887, allocations: 357.2 kB / 1.239 GB, free: 95.01 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.3895, allocations: 0.5409 MB / 1.24 GB, free: 94.46 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3895, allocations: 0 / 1.24 GB, free: 94.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001077/0.3906, allocations: 0.7113 MB / 1.24 GB, free: 93.74 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3907, allocations: 8 kB / 1.241 GB, free: 93.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3907, allocations: 0 / 1.241 GB, free: 93.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3907, allocations: 4 kB / 1.241 GB, free: 93.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.3912, allocations: 151.9 kB / 1.241 GB, free: 93.58 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3913, allocations: 11.92 kB / 1.241 GB, free: 93.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.3916, allocations: 91.33 kB / 1.241 GB, free: 93.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3917, allocations: 20 kB / 1.241 GB, free: 93.46 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005089/0.3922, allocations: 350.1 kB / 1.241 GB, free: 93.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000324/0.3925, allocations: 317.3 kB / 1.241 GB, free: 92.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005198/0.393, allocations: 462 kB / 1.242 GB, free: 92.31 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.3931, allocations: 11.92 kB / 1.242 GB, free: 92.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0007294/0.3938, allocations: 0.606 MB / 1.242 GB, free: 91.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3938, allocations: 9.406 kB / 1.242 GB, free: 91.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.3938, allocations: 0 / 1.242 GB, free: 91.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.3938, allocations: 4 kB / 1.242 GB, free: 91.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.3943, allocations: 131.8 kB / 1.243 GB, free: 91.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3943, allocations: 8.094 kB / 1.243 GB, free: 91.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.3946, allocations: 87.33 kB / 1.243 GB, free: 91.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3946, allocations: 20 kB / 1.243 GB, free: 91.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.3948, allocations: 220.8 kB / 1.243 GB, free: 91.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.3949, allocations: 79.03 kB / 1.243 GB, free: 91.13 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3959, allocations: 0.6417 MB / 1.244 GB, free: 90.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.396, allocations: 8 kB / 1.244 GB, free: 90.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.396, allocations: 3.938 kB / 1.244 GB, free: 90.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.396, allocations: 3.984 kB / 1.244 GB, free: 90.46 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.398, allocations: 1.696 MB / 1.245 GB, free: 88.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.398, allocations: 4 kB / 1.245 GB, free: 88.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.3985, allocations: 135.8 kB / 1.245 GB, free: 88.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3985, allocations: 4 kB / 1.245 GB, free: 88.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.3986, allocations: 28.17 kB / 1.245 GB, free: 88.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.3986, allocations: 4 kB / 1.245 GB, free: 88.51 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3986, allocations: 0 / 1.245 GB, free: 88.51 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007324/0.4059, allocations: 5.437 MB / 1.251 GB, free: 82.92 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4061, allocations: 160.1 kB / 1.251 GB, free: 82.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.4061, allocations: 12 kB / 1.251 GB, free: 82.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.4064, allocations: 51.95 kB / 1.251 GB, free: 82.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.4065, allocations: 44.44 kB / 1.251 GB, free: 82.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.4066, allocations: 27.98 kB / 1.251 GB, free: 82.61 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003598/0.4069, allocations: 390.8 kB / 1.251 GB, free: 82.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4069, allocations: 0 / 1.251 GB, free: 82.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009848/0.4079, allocations: 402.4 kB / 1.252 GB, free: 81.84 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.4081, allocations: 135.2 kB / 1.252 GB, free: 81.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.4095, allocations: 0.8835 MB / 1.253 GB, free: 80.81 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4096, allocations: 4 kB / 1.253 GB, free: 80.81 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.41, allocations: 311 kB / 1.253 GB, free: 80.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.4107, allocations: 130.6 kB / 1.253 GB, free: 80.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.4132, allocations: 2.327 MB / 1.255 GB, free: 77.99 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.4136, allocations: 0.994 MB / 1.256 GB, free: 76.96 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003767/0.414, allocations: 105.1 kB / 1.257 GB, free: 76.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4142, allocations: 63.42 kB / 1.257 GB, free: 76.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.844e-06/0.4142, allocations: 4 kB / 1.257 GB, free: 76.79 MB / 0.823 GB Notification: Performance of Templates: time 0.01339/0.4276, allocations: 8.669 MB / 1.265 GB, free: 68.19 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)