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.001382/0.001382, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001345/0.001345, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.104/3.104, allocations: 0.505 GB / 0.8108 GB, free: 23.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.001961/0.001961, allocations: 72.72 kB / 1.178 GB, free: 16.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3607, allocations: 180.2 MB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002526/0.3633, allocations: 1.133 MB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3645, allocations: 1.003 MB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.3646, allocations: 4 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.688e-05/0.3647, allocations: 23.67 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3648, allocations: 39.66 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.365, allocations: 95.91 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.3653, allocations: 311.4 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.3655, allocations: 138 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3657, allocations: 123.6 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3658, allocations: 115.5 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.3659, allocations: 36 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.3659, allocations: 36 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.366, allocations: 71.81 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.3661, allocations: 107.5 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.3665, allocations: 446.2 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3665, allocations: 0 / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3665, allocations: 0 / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3665, allocations: 0 / 1.358 GB, free: 3.859 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.0008283/0.3673, allocations: 489.8 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3674, allocations: 12.03 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.3674, allocations: 24.8 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3677, allocations: 206.7 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3677, allocations: 17.03 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.3678, allocations: 24.38 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.3683, allocations: 262.6 kB / 1.359 GB, free: 2.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3684, allocations: 4.125 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.3684, allocations: 19.94 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3684, allocations: 8 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/0.369, allocations: 238.4 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.37, allocations: 0.5977 MB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.3705, allocations: 202.7 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3708, allocations: 116.7 kB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3708, allocations: 4 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3709, allocations: 30.56 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.3709, allocations: 0 / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0008844/0.3717, allocations: 315.4 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3718, allocations: 55.41 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3719, allocations: 144.1 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3719, allocations: 25.7 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.372, allocations: 156.6 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.3721, allocations: 71.39 kB / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.3722, allocations: 33.7 kB / 1.361 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3723, allocations: 326.8 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3726, allocations: 91.86 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3728, allocations: 98.59 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.3734, allocations: 191.4 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3734, allocations: 3.938 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005825/0.3739, allocations: 238.5 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.374, allocations: 7.984 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.374, allocations: 4.031 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.374, allocations: 8 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3742, allocations: 47.91 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3742, allocations: 4 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3744, allocations: 35.8 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3744, allocations: 4 kB / 1.362 GB, free: 15.63 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.000131/0.3745, allocations: 137.8 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.3746, allocations: 15.91 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.3746, allocations: 25.11 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3746, allocations: 7.938 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3746, allocations: 0 / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3746, allocations: 3.938 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.3749, allocations: 209.2 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3749, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.3751, allocations: 55.89 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3751, allocations: 4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3752, allocations: 4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3752, allocations: 0 / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3752, allocations: 0 / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.3758, allocations: 337.5 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.3758, allocations: 11.91 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3758, allocations: 11.94 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.376, allocations: 19.97 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.3761, allocations: 19.97 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3761, allocations: 4 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.021e-05/0.3761, allocations: 117.4 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3761, allocations: 0 / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002635/0.3764, allocations: 51.78 kB / 1.363 GB, free: 14.56 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.0001191/0.3765, allocations: 103.2 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.3771, allocations: 195.8 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3771, allocations: 0 / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.3773, allocations: 105.4 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3777, allocations: 45.83 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.3785, allocations: 407.3 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3787, allocations: 137.6 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.395e-05/0.3787, allocations: 17.36 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3788, allocations: 15.44 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3788, allocations: 4 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of Templates: time 0.005271/0.3841, allocations: 1.958 MB / 1.365 GB, free: 11.6 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 -s gbode -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: 8.499470643000677]