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.PIDIntegralTime.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.001448/0.001448, allocations: 105.1 kB / 18.99 MB, free: 2.473 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.00197/0.00197, allocations: 218.7 kB / 22.29 MB, free: 4.91 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.66/1.66, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.529/3.529, allocations: 0.5096 GB / 0.8148 GB, free: 18.46 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.002391/0.002391, allocations: 72.02 kB / 1.184 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3977, allocations: 181.4 MB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002558/0.4003, allocations: 0.8141 MB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4017, allocations: 0.8705 MB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.4017, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.508e-05/0.4018, allocations: 11.88 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.4019, allocations: 23.72 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.402, allocations: 35.97 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.4022, allocations: 111.8 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.4024, allocations: 33.58 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.4025, allocations: 47.84 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4026, allocations: 43.75 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.4027, allocations: 12 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.4027, allocations: 12 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.4027, allocations: 23.92 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.4028, allocations: 47.8 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.403, allocations: 143.3 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.403, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.403, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.403, allocations: 0 / 1.364 GB, free: 13.37 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006984/0.4037, allocations: 345.9 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4038, allocations: 8.031 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4038, allocations: 12.84 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.4041, allocations: 146.3 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4041, allocations: 8.375 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4041, allocations: 8.375 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.4045, allocations: 118.2 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4045, allocations: 192 / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4045, allocations: 3.938 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.4045, allocations: 4 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.4049, allocations: 111.8 kB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.4054, allocations: 320.1 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.4059, allocations: 106.6 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.4061, allocations: 60.81 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.4061, allocations: 4 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.4061, allocations: 38.69 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4061, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006424/0.4068, allocations: 177.8 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.4068, allocations: 55.34 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.4069, allocations: 117.8 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4069, allocations: 29.8 kB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.407, allocations: 111.9 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4071, allocations: 35.67 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.4071, allocations: 17.72 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4073, allocations: 322.8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4074, allocations: 43.95 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.4076, allocations: 39.97 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.4079, allocations: 100.7 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4079, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003852/0.4083, allocations: 133.6 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4083, allocations: 4 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4083, allocations: 8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4083, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4085, allocations: 31.92 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4085, allocations: 3.938 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.4086, allocations: 15.97 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4086, allocations: 0 / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001121/0.4087, allocations: 117.8 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.4087, allocations: 7.953 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.4088, allocations: 24.36 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4088, allocations: 0 / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4088, allocations: 3.938 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4088, allocations: 288 / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.409, allocations: 141.2 kB / 1.366 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.409, allocations: 0 / 1.366 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.4091, allocations: 35.84 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4091, allocations: 0 / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.4092, allocations: 0 / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4092, allocations: 0 / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4092, allocations: 4 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.4097, allocations: 239.3 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.4097, allocations: 3.953 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4098, allocations: 8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4099, allocations: 7.984 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.4099, allocations: 15.92 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.4099, allocations: 11.98 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.367e-05/0.41, allocations: 91.66 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.41, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000243/0.4102, allocations: 15.95 kB / 1.367 GB, free: 9.93 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 (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 Backend phase and start with SimCode phase: time 0.0001363/0.4104, allocations: 111.2 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.4108, allocations: 95.86 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4108, allocations: 8 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.4109, allocations: 51.89 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4113, allocations: 15.98 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.4118, allocations: 213.4 kB / 1.367 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.844e-05/0.4119, allocations: 89.27 kB / 1.367 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.078e-05/0.412, allocations: 3.984 kB / 1.367 GB, free: 9.297 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.412, allocations: 11.44 kB / 1.367 GB, free: 9.285 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.412, allocations: 7.938 kB / 1.367 GB, free: 9.277 MB / 1.061 GB Notification: Performance of Templates: time 0.004509/0.4165, allocations: 1.158 MB / 1.369 GB, free: 8.188 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.092984182294458]