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.001377/0.001377, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001614/0.001614, allocations: 219 kB / 22.26 MB, free: 5.125 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 8 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.469/3.469, allocations: 0.4899 GB / 0.7951 GB, free: 33.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.00219/0.00219, allocations: 67.2 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4631, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002458/0.4656, allocations: 0.8779 MB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.4668, allocations: 0.8783 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.4669, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.4669, allocations: 11.86 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.467, allocations: 19.8 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.974e-05/0.4671, allocations: 35.95 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.4673, allocations: 115.7 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4675, allocations: 37.3 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.4676, allocations: 51.78 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.4677, allocations: 55.75 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.4677, allocations: 12 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.4677, allocations: 12 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.4678, allocations: 23.92 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.4678, allocations: 47.73 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.468, allocations: 135.4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.468, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.468, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.4681, allocations: 0 / 1.329 GB, free: 15.2 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.0007913/0.4689, allocations: 362 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4689, allocations: 8.031 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4689, allocations: 16.83 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.4692, allocations: 138.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4692, allocations: 4.562 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4692, allocations: 16.31 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.4696, allocations: 133.7 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4696, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.4697, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4697, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.4701, allocations: 127.9 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.4708, allocations: 367.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.4712, allocations: 102.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.4715, allocations: 64.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.4716, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4716, allocations: 34.5 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.4716, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007798/0.4724, allocations: 201.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4724, allocations: 55.41 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4726, allocations: 130 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4726, allocations: 25.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.4727, allocations: 112 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.4727, allocations: 31.73 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.4728, allocations: 21.72 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.4729, allocations: 318.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.4732, allocations: 59.89 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.4734, allocations: 69.64 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.4738, allocations: 126.1 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4738, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004786/0.4743, allocations: 157.5 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4743, allocations: 8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4743, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.4743, allocations: 3.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.4745, allocations: 27.97 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4745, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.4746, allocations: 23.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4747, allocations: 4 kB / 1.331 GB, free: 12.28 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.0001235/0.4748, allocations: 127.4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4748, allocations: 11.89 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.4748, allocations: 12.72 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4749, allocations: 4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4749, allocations: 192 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4749, allocations: 7.938 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.4752, allocations: 180.6 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4752, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4754, allocations: 31.97 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4754, allocations: 7.984 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4754, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4754, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4754, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.4759, allocations: 259.2 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.4759, allocations: 15.89 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.476, allocations: 7.984 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4761, allocations: 11.98 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.4762, allocations: 15.92 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.4762, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000107/0.4763, allocations: 105.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4763, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002298/0.4765, allocations: 16 kB / 1.332 GB, free: 11.41 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.0001432/0.4767, allocations: 100.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.4772, allocations: 127.9 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4772, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4774, allocations: 59.94 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.4778, allocations: 13.42 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.4784, allocations: 219.7 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.4788, allocations: 0.704 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.4789, allocations: 11.98 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.4789, allocations: 11.44 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4789, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of Templates: time 0.004754/0.4837, allocations: 1.266 MB / 1.335 GB, free: 8.891 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.788162316195667]