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.001594/0.001594, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001934/0.001934, allocations: 210.8 kB / 23 MB, free: 4.934 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.252/3.252, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002045/0.002045, allocations: 67.02 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.41, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002286/0.4123, allocations: 0.8272 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.4136, allocations: 0.8743 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.4137, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.801e-05/0.4137, allocations: 11.86 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.4138, allocations: 11.88 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.915e-05/0.4139, allocations: 35.95 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.4141, allocations: 115.7 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.4143, allocations: 41.27 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.4144, allocations: 51.78 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.4145, allocations: 51.77 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.4145, allocations: 12 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.4145, allocations: 8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.4145, allocations: 31.86 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.4146, allocations: 35.8 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.4148, allocations: 135.4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4148, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.582e-06/0.4148, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4148, allocations: 0 / 1.329 GB, free: 14.76 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.0007541/0.4155, allocations: 354 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4156, allocations: 8.031 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.4156, allocations: 8.891 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.4159, allocations: 146.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4159, allocations: 16.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4159, allocations: 12.38 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.4163, allocations: 121.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4163, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.4163, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4163, allocations: 7.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.4168, allocations: 131.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.4174, allocations: 320.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.4178, allocations: 106.6 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.418, allocations: 56.81 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.4181, allocations: 7.984 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4181, allocations: 34.56 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.4181, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007893/0.4189, allocations: 205.4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4189, allocations: 51.41 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4191, allocations: 131.7 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4191, allocations: 25.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.4192, allocations: 108.1 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.4192, allocations: 35.73 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.4193, allocations: 25.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4194, allocations: 318.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4197, allocations: 55.94 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.4199, allocations: 69.59 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.4203, allocations: 121.6 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4203, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005088/0.4208, allocations: 161.5 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4209, allocations: 8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4209, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4209, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.4211, allocations: 35.97 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4211, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4212, allocations: 19.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.4212, allocations: 4.031 kB / 1.332 GB, free: 11.91 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.0001075/0.4213, allocations: 122.3 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.4214, allocations: 11.89 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.4214, allocations: 16.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4214, allocations: 4.172 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4214, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.4214, allocations: 11.89 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.4214, allocations: 7.938 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.4216, allocations: 15.97 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.4216, allocations: 19.92 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006314/0.4223, allocations: 244.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005798/0.4229, allocations: 331.1 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002303/0.4231, allocations: 63.94 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.4232, allocations: 105.8 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.4232, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005787/0.4238, allocations: 154.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007422/0.4245, allocations: 0.6354 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of Templates: time 0.004665/0.4292, allocations: 1.621 MB / 1.335 GB, free: 8.547 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/jenkins1/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.277923116002057]