Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002959/0.002959, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 220.8 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.743/1.743, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.432/3.432, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003863/0.003863, allocations: 67.84 kB / 1.177 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.041, allocations: 180 MB / 1.353 GB, free: 1.59 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.00547/1.046, allocations: 2.808 MB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003934/1.05, allocations: 1.75 MB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/1.051, allocations: 23.88 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/1.051, allocations: 166.2 kB / 1.358 GB, free: 12.82 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005325/1.052, allocations: 148.5 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/1.052, allocations: 355.5 kB / 1.358 GB, free: 12.33 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001284/1.054, allocations: 1.08 MB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/1.055, allocations: 426.9 kB / 1.36 GB, free: 10.81 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005574/1.055, allocations: 422.3 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/1.056, allocations: 405.6 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/1.056, allocations: 119.9 kB / 1.36 GB, free: 9.879 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/1.056, allocations: 120 kB / 1.361 GB, free: 9.762 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/1.056, allocations: 255.1 kB / 1.361 GB, free: 9.512 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/1.057, allocations: 381.9 kB / 1.361 GB, free: 9.137 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/1.058, allocations: 1.333 MB / 1.362 GB, free: 7.801 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.058, allocations: 0 / 1.362 GB, free: 7.801 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.244e-06/1.058, allocations: 11.94 kB / 1.362 GB, free: 7.789 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.678e-05/1.058, allocations: 0 / 1.362 GB, free: 7.789 MB / 1.042 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.003852/1.062, allocations: 1.892 MB / 1.364 GB, free: 5.836 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.062, allocations: 8.922 kB / 1.364 GB, free: 5.828 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/1.062, allocations: 124.2 kB / 1.364 GB, free: 5.707 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/1.063, allocations: 0.5154 MB / 1.365 GB, free: 5.16 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/1.063, allocations: 74.36 kB / 1.365 GB, free: 5.09 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/1.064, allocations: 96.38 kB / 1.365 GB, free: 4.996 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/1.065, allocations: 0.9754 MB / 1.366 GB, free: 3.973 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/1.065, allocations: 8.125 kB / 1.366 GB, free: 3.965 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/1.065, allocations: 43.88 kB / 1.366 GB, free: 3.922 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/1.065, allocations: 24 kB / 1.366 GB, free: 3.898 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/1.067, allocations: 0.6129 MB / 1.367 GB, free: 3.285 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/1.071, allocations: 2.35 MB / 1.369 GB, free: 0.8633 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/1.073, allocations: 0.6608 MB / 1.37 GB, free: 208 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/1.074, allocations: 374.3 kB / 1.37 GB, free: 15.84 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/1.074, allocations: 8.656 kB / 1.37 GB, free: 15.83 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007357/1.074, allocations: 348.4 kB / 1.37 GB, free: 15.47 MB / 1.057 GB Notification: Performance of pre-optimization done (n=74): time 2.645e-06/1.074, allocations: 0 / 1.37 GB, free: 15.47 MB / 1.057 GB Notification: Performance of matching and sorting (n=74): time 0.001836/1.076, allocations: 0.8215 MB / 1.371 GB, free: 14.65 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.076, allocations: 162.9 kB / 1.371 GB, free: 14.45 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/1.077, allocations: 498 kB / 1.372 GB, free: 13.96 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/1.077, allocations: 45.69 kB / 1.372 GB, free: 13.91 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/1.078, allocations: 409 kB / 1.372 GB, free: 13.5 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/1.078, allocations: 269.6 kB / 1.372 GB, free: 13.23 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.078, allocations: 134.6 kB / 1.373 GB, free: 13.1 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002403/1.078, allocations: 374.7 kB / 1.373 GB, free: 12.72 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/1.079, allocations: 248.7 kB / 1.373 GB, free: 12.48 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/1.08, allocations: 0.5573 MB / 1.374 GB, free: 11.84 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.081, allocations: 0.5526 MB / 1.374 GB, free: 11.27 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.081, allocations: 0 / 1.374 GB, free: 11.27 MB / 1.057 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001604/1.083, allocations: 0.6963 MB / 1.375 GB, free: 10.57 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.083, allocations: 7.984 kB / 1.375 GB, free: 10.56 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.083, allocations: 80 / 1.375 GB, free: 10.56 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.083, allocations: 4 kB / 1.375 GB, free: 10.56 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/1.083, allocations: 151.8 kB / 1.375 GB, free: 10.41 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.083, allocations: 11.92 kB / 1.375 GB, free: 10.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/1.084, allocations: 91.66 kB / 1.375 GB, free: 10.31 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/1.084, allocations: 23.94 kB / 1.375 GB, free: 10.29 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006992/1.084, allocations: 350.1 kB / 1.376 GB, free: 9.938 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00066/1.085, allocations: 0.5066 MB / 1.376 GB, free: 9.344 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000806/1.086, allocations: 470 kB / 1.377 GB, free: 8.871 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/1.086, allocations: 0 / 1.377 GB, free: 8.871 MB / 1.057 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001406/1.087, allocations: 0.6104 MB / 1.377 GB, free: 8.258 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.087, allocations: 4 kB / 1.377 GB, free: 8.254 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.087, allocations: 4 kB / 1.377 GB, free: 8.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/1.087, allocations: 4 kB / 1.377 GB, free: 8.246 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/1.088, allocations: 127.8 kB / 1.377 GB, free: 8.121 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.088, allocations: 4 kB / 1.377 GB, free: 8.117 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/1.088, allocations: 87.67 kB / 1.377 GB, free: 8.031 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/1.088, allocations: 24 kB / 1.377 GB, free: 8.008 MB / 1.057 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.0002431/1.089, allocations: 228.5 kB / 1.378 GB, free: 7.777 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.089, allocations: 67.58 kB / 1.378 GB, free: 7.711 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/1.09, allocations: 0.641 MB / 1.378 GB, free: 7.062 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.09, allocations: 11.94 kB / 1.378 GB, free: 7.051 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.09, allocations: 3.984 kB / 1.378 GB, free: 7.047 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.09, allocations: 4 kB / 1.378 GB, free: 7.043 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/1.093, allocations: 1.442 MB / 1.38 GB, free: 5.543 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.093, allocations: 4 kB / 1.38 GB, free: 5.539 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/1.094, allocations: 131.8 kB / 1.38 GB, free: 5.41 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/1.094, allocations: 4.188 kB / 1.38 GB, free: 5.406 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/1.094, allocations: 27.98 kB / 1.38 GB, free: 5.379 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.094, allocations: 4 kB / 1.38 GB, free: 5.375 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.094, allocations: 4 kB / 1.38 GB, free: 5.371 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.096, allocations: 1.063 MB / 1.381 GB, free: 4.273 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/1.096, allocations: 79.38 kB / 1.381 GB, free: 4.195 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/1.096, allocations: 16 kB / 1.381 GB, free: 4.18 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/1.096, allocations: 43.95 kB / 1.381 GB, free: 4.137 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.096, allocations: 48.61 kB / 1.381 GB, free: 4.09 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/1.096, allocations: 31.92 kB / 1.381 GB, free: 4.059 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004951/1.097, allocations: 338.9 kB / 1.381 GB, free: 3.73 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.01e-07/1.097, allocations: 4 kB / 1.381 GB, free: 3.727 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0009189/1.098, allocations: 338.8 kB / 1.382 GB, free: 3.395 MB / 1.057 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.0002292/1.098, allocations: 131 kB / 1.382 GB, free: 3.258 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001859/1.1, allocations: 0.8177 MB / 1.383 GB, free: 2.445 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.1, allocations: 4 kB / 1.383 GB, free: 2.441 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/1.1, allocations: 296.3 kB / 1.383 GB, free: 2.152 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/1.101, allocations: 149.8 kB / 1.383 GB, free: 2.004 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/1.104, allocations: 1.539 MB / 1.385 GB, free: 424 kB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/1.105, allocations: 387.5 kB / 1.385 GB, free: 4 kB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003983/1.105, allocations: 80.91 kB / 1.385 GB, free: 15.93 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/1.106, allocations: 55.42 kB / 1.385 GB, free: 15.87 MB / 1.073 GB Notification: Performance of SimCode: time 1.303e-06/1.106, allocations: 0 / 1.385 GB, free: 15.87 MB / 1.073 GB Notification: Performance of Templates: time 0.01838/1.124, allocations: 8.214 MB / 1.393 GB, free: 7.809 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.939970752224326]