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.001955/0.001955, allocations: 111 kB / 16.46 MB, free: 6.453 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.002275/0.002275, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.635/1.635, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.472/3.472, allocations: 0.5049 GB / 0.8065 GB, free: 23.11 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.002164/0.002164, allocations: 72.95 kB / 1.172 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4517, allocations: 180.2 MB / 1.348 GB, free: 9.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002835/0.4545, allocations: 1.251 MB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.4562, allocations: 1.007 MB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.4564, allocations: 4 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.362e-05/0.4565, allocations: 23.67 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.4566, allocations: 39.64 kB / 1.35 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.4568, allocations: 95.86 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.4571, allocations: 303.4 kB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.4575, allocations: 153.5 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.4576, allocations: 115.6 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.4578, allocations: 119.5 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.4578, allocations: 36 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.592e-05/0.4579, allocations: 36 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.458, allocations: 59.84 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.4581, allocations: 139.3 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.4585, allocations: 442.3 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4585, allocations: 0 / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4585, allocations: 7.938 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4585, allocations: 0 / 1.352 GB, free: 5.652 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.0009347/0.4595, allocations: 0.5516 MB / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4595, allocations: 8.031 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.4596, allocations: 28.8 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.46, allocations: 268.5 kB / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.46, allocations: 20.94 kB / 1.353 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.46, allocations: 28.36 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.4606, allocations: 257.4 kB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4607, allocations: 192 / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4607, allocations: 15.94 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4607, allocations: 4 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.4614, allocations: 242 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.4627, allocations: 0.7484 MB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.4633, allocations: 208.6 kB / 1.354 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.4636, allocations: 112.7 kB / 1.354 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4636, allocations: 0 / 1.354 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4636, allocations: 38.55 kB / 1.354 GB, free: 2.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 9.62e-07/0.4636, allocations: 0 / 1.354 GB, free: 2.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009774/0.4646, allocations: 315.3 kB / 1.355 GB, free: 2.668 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.4646, allocations: 55.41 kB / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.4648, allocations: 140.6 kB / 1.355 GB, free: 2.457 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.4648, allocations: 29.7 kB / 1.355 GB, free: 2.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4649, allocations: 160.6 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.465, allocations: 71.38 kB / 1.355 GB, free: 2.191 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.4651, allocations: 33.72 kB / 1.355 GB, free: 2.152 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4652, allocations: 330.8 kB / 1.355 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.4655, allocations: 83.88 kB / 1.356 GB, free: 1.738 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.4658, allocations: 101.6 kB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.4664, allocations: 190.8 kB / 1.356 GB, free: 1.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4664, allocations: 0 / 1.356 GB, free: 1.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006438/0.467, allocations: 243.1 kB / 1.356 GB, free: 1.199 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4671, allocations: 4 kB / 1.356 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4671, allocations: 7.938 kB / 1.356 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4671, allocations: 4.031 kB / 1.356 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4674, allocations: 59.89 kB / 1.356 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.4674, allocations: 7.922 kB / 1.356 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.4675, allocations: 31.86 kB / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.4675, allocations: 8 kB / 1.356 GB, free: 1.078 MB / 1.045 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.0001542/0.4677, allocations: 133.8 kB / 1.356 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.4677, allocations: 11.95 kB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.4678, allocations: 25.17 kB / 1.356 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4678, allocations: 4 kB / 1.356 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4678, allocations: 3.938 kB / 1.356 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4678, allocations: 3.984 kB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.4682, allocations: 301.5 kB / 1.357 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4682, allocations: 0 / 1.357 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4684, allocations: 59.89 kB / 1.357 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4684, allocations: 0 / 1.357 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4685, allocations: 4 kB / 1.357 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4685, allocations: 0 / 1.357 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4685, allocations: 3.938 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.4692, allocations: 336.7 kB / 1.357 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.4692, allocations: 96.94 kB / 1.357 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4693, allocations: 7.938 kB / 1.357 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.4695, allocations: 16.03 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.4695, allocations: 23.86 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4696, allocations: 4 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.401e-05/0.4696, allocations: 109.9 kB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4696, allocations: 0 / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000272/0.4699, allocations: 51.78 kB / 1.357 GB, free: 15.81 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.0001662/0.4701, allocations: 107.2 kB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006527/0.4707, allocations: 195.8 kB / 1.358 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4707, allocations: 4.062 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.471, allocations: 106 kB / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.4714, allocations: 23.98 kB / 1.358 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.4723, allocations: 411.2 kB / 1.358 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.4727, allocations: 0.7473 MB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.159e-05/0.4728, allocations: 17.42 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.4728, allocations: 19.38 kB / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4728, allocations: 0 / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of Templates: time 0.005357/0.4782, allocations: 1.747 MB / 1.361 GB, free: 12.44 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/jenkins/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: 10.062310284003615]