Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.001627/0.001627, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00183/0.00183, allocations: 223.5 kB / 22.25 MB, free: 5.102 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.396/3.396, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.002136/0.002136, allocations: 66.48 kB / 1.154 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3949, allocations: 176.1 MB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002279/0.3972, allocations: 0.8389 MB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3984, allocations: 0.8744 MB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.3985, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.498e-05/0.3985, allocations: 15.86 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.3986, allocations: 15.81 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.3987, allocations: 35.95 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3989, allocations: 111.8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3991, allocations: 41.27 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3992, allocations: 51.78 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.3992, allocations: 47.77 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.3993, allocations: 12 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.3993, allocations: 12 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.3993, allocations: 31.92 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.3994, allocations: 35.8 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.3996, allocations: 143.3 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3996, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3996, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3996, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006977/0.4003, allocations: 358 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4003, allocations: 8.031 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.4004, allocations: 12.89 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4006, allocations: 142.5 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4006, allocations: 12.55 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.4006, allocations: 8.375 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.401, allocations: 131 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4011, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4011, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4011, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.4015, allocations: 127.9 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.4021, allocations: 324.3 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.4025, allocations: 102.6 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.4028, allocations: 68.67 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4028, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4028, allocations: 38.56 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.4028, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008138/0.4036, allocations: 201.5 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4037, allocations: 55.41 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4038, allocations: 132.4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.4038, allocations: 25.7 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.4039, allocations: 116.1 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.4039, allocations: 31.73 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.404, allocations: 25.7 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4041, allocations: 322.7 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4044, allocations: 55.94 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.4046, allocations: 69.66 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.405, allocations: 117.6 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.405, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004839/0.4055, allocations: 161.8 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4055, allocations: 8 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4055, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.4055, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.4057, allocations: 31.97 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4057, allocations: 8.062 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.4059, allocations: 20 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4059, allocations: 11.88 kB / 1.331 GB, free: 11.89 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.0001061/0.406, allocations: 118.4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.406, allocations: 7.953 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.406, allocations: 16.7 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.406, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.406, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.406, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.4062, allocations: 149.2 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.4062, allocations: 4 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4064, allocations: 27.97 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4064, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4064, allocations: 4 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4064, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4064, allocations: 192 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.4069, allocations: 255.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.407, allocations: 19.83 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.407, allocations: 7.984 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4071, allocations: 15.98 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.4072, allocations: 11.98 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4072, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.4073, allocations: 103.2 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4073, allocations: 3.938 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002353/0.4075, allocations: 20 kB / 1.332 GB, free: 11.09 MB / 1.029 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 (8): * Single equations (assignments): 8 * 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.0001287/0.4076, allocations: 99.19 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.4081, allocations: 127.8 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4081, allocations: 64 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4083, allocations: 63.94 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.4087, allocations: 15.94 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.4093, allocations: 214.2 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.298e-05/0.4094, allocations: 88.19 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.4094, allocations: 7.984 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.4095, allocations: 15.44 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4095, allocations: 0 / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Templates: time 0.004209/0.4137, allocations: 1.387 MB / 1.334 GB, free: 9.082 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 9.749049382749945]