Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001726/0.001726, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.0021/0.0021, allocations: 215.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.365/3.365, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 69.11 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3899, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002909/0.3928, allocations: 1.263 MB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3944, allocations: 0.9995 MB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3945, allocations: 4 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.3946, allocations: 27.61 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.3947, allocations: 35.66 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3949, allocations: 95.91 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.3953, allocations: 307.4 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.3956, allocations: 146 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3958, allocations: 123.6 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.396, allocations: 115.5 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.396, allocations: 36 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.3961, allocations: 36 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.3962, allocations: 63.84 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3963, allocations: 135.3 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.3968, allocations: 450.2 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3968, allocations: 0 / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3968, allocations: 0 / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3968, allocations: 4 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009095/0.3977, allocations: 485.8 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3978, allocations: 12.03 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.3978, allocations: 24.8 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3982, allocations: 202.8 kB / 1.359 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3982, allocations: 24.97 kB / 1.359 GB, free: 3.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.3983, allocations: 24.38 kB / 1.359 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.3989, allocations: 254.6 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3989, allocations: 192 / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.3989, allocations: 15.94 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3989, allocations: 4 kB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.3995, allocations: 242.5 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4007, allocations: 0.718 MB / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.4012, allocations: 206.6 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.4015, allocations: 112.8 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.4015, allocations: 4 kB / 1.36 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4015, allocations: 38.55 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.4015, allocations: 0 / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009377/0.4025, allocations: 316.1 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4025, allocations: 55.41 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4027, allocations: 140.6 kB / 1.361 GB, free: 1.105 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.4028, allocations: 33.7 kB / 1.361 GB, free: 1.066 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.4029, allocations: 156.6 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.403, allocations: 75.36 kB / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.4031, allocations: 29.72 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4033, allocations: 330.8 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.4035, allocations: 79.94 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.4038, allocations: 105.6 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.4043, allocations: 191.3 kB / 1.362 GB, free: 88 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4043, allocations: 7.938 kB / 1.362 GB, free: 80 kB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006267/0.4049, allocations: 235.7 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.405, allocations: 14.12 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.405, allocations: 0 / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.405, allocations: 0 / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4052, allocations: 55.98 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4052, allocations: 7.734 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.4054, allocations: 31.86 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4054, allocations: 4 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001554/0.4055, allocations: 145.7 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.4056, allocations: 11.95 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.4056, allocations: 21.12 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4057, allocations: 7.938 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4057, allocations: 0 / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4057, allocations: 3.984 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.4061, allocations: 280.5 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4061, allocations: 0 / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4063, allocations: 51.89 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4063, allocations: 0 / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4063, allocations: 12 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4063, allocations: 3.938 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4063, allocations: 0 / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.4072, allocations: 327.3 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.4073, allocations: 19.91 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.4073, allocations: 7.922 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4075, allocations: 19.92 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.4076, allocations: 19.97 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4076, allocations: 8 kB / 1.363 GB, free: 14.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001255/0.4077, allocations: 113.7 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4077, allocations: 0 / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000317/0.408, allocations: 51.78 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001586/0.4082, allocations: 103.2 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.4088, allocations: 189.5 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4088, allocations: 4 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.4091, allocations: 103.9 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.4095, allocations: 25 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4106, allocations: 441 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.4111, allocations: 0.7434 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.4112, allocations: 23.42 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4112, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of Templates: time 0.004717/0.4159, allocations: 2.3 MB / 1.367 GB, free: 10.61 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.492906736995792]