Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001473/0.001473, allocations: 104.2 kB / 18.99 MB, free: 2.617 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.001814/0.001814, allocations: 223.5 kB / 22.29 MB, free: 5.285 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.561/1.561, allocations: 230.6 MB / 256.1 MB, free: 7.801 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.564/3.564, allocations: 0.5096 GB / 0.8148 GB, free: 18.42 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [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.002198/0.002198, allocations: 65.84 kB / 1.184 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3987, allocations: 181.4 MB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002477/0.4011, allocations: 0.9336 MB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.4023, allocations: 0.9065 MB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.4024, allocations: 4 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.518e-05/0.4025, allocations: 19.73 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.4026, allocations: 19.8 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4027, allocations: 55.94 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.4029, allocations: 164.2 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.4031, allocations: 84.69 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.4032, allocations: 63.78 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.4033, allocations: 63.69 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.4034, allocations: 16 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.4034, allocations: 20 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.4034, allocations: 39.84 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.4035, allocations: 63.72 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.4037, allocations: 225.8 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4037, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4038, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4038, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007458/0.4045, allocations: 406 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4045, allocations: 8.031 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.4046, allocations: 20.8 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.4048, allocations: 158.6 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.4049, allocations: 8.703 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.4049, allocations: 16.38 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.4054, allocations: 188.6 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4054, allocations: 192 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.4054, allocations: 11.94 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4054, allocations: 4 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.4059, allocations: 176.1 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.4066, allocations: 407.9 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.407, allocations: 134.5 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.4072, allocations: 92.78 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.4072, allocations: 4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4073, allocations: 30.56 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.4073, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008002/0.4081, allocations: 257.7 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4081, allocations: 55.41 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4082, allocations: 130.1 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.4083, allocations: 29.7 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.4084, allocations: 124.2 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4084, allocations: 43.64 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.4085, allocations: 33.7 kB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4086, allocations: 326.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.4089, allocations: 71.88 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.4091, allocations: 93.12 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.4096, allocations: 172.7 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4096, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005242/0.4101, allocations: 197.5 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4101, allocations: 8 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.4101, allocations: 0 / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4101, allocations: 0 / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.4104, allocations: 39.91 kB / 1.367 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4104, allocations: 4 kB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.4105, allocations: 27.92 kB / 1.367 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4105, allocations: 4 kB / 1.367 GB, free: 9.512 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001287/0.4106, allocations: 130.5 kB / 1.367 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4107, allocations: 7.953 kB / 1.367 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.4107, allocations: 20.77 kB / 1.367 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4107, allocations: 0 / 1.367 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4107, allocations: 0 / 1.367 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4107, allocations: 4 kB / 1.367 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.411, allocations: 173.1 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.411, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4112, allocations: 39.91 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4112, allocations: 4 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4112, allocations: 4 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4112, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4112, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.4117, allocations: 287.3 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.4118, allocations: 11.95 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4118, allocations: 4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4119, allocations: 19.97 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.412, allocations: 7.984 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.412, allocations: 8 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.4121, allocations: 95.27 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4121, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002506/0.4123, allocations: 31.89 kB / 1.368 GB, free: 8.621 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 (13): * Single equations (assignments): 13 * 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.0001489/0.4125, allocations: 119.2 kB / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.413, allocations: 154.4 kB / 1.368 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.413, allocations: 3.938 kB / 1.368 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.4132, allocations: 84 kB / 1.368 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.4136, allocations: 27.86 kB / 1.368 GB, free: 8.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.4142, allocations: 278.8 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4144, allocations: 102.8 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.202e-05/0.4144, allocations: 8.359 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.4145, allocations: 19.44 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4145, allocations: 0 / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of Templates: time 0.004885/0.4194, allocations: 1.583 MB / 1.37 GB, free: 6.281 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.00662870099768]