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.PIIntegralTime.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.001999/0.001999, allocations: 104.3 kB / 19.74 MB, free: 2.082 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.002445/0.002445, allocations: 218.1 kB / 23.04 MB, free: 4.867 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.467/3.467, allocations: 0.5097 GB / 0.8156 GB, free: 18.39 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [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.002246/0.002246, allocations: 64.44 kB / 1.185 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3989, allocations: 181.4 MB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002518/0.4015, allocations: 0.9126 MB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4032, allocations: 0.9026 MB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.4033, allocations: 4 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.889e-05/0.4033, allocations: 15.8 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.4035, allocations: 11.81 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.4036, allocations: 59.94 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.4039, allocations: 152.2 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.4042, allocations: 73.09 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.4043, allocations: 67.72 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4045, allocations: 55.69 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.4045, allocations: 16 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/0.4045, allocations: 20 kB / 1.365 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.4046, allocations: 31.92 kB / 1.365 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.4047, allocations: 55.72 kB / 1.365 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.405, allocations: 215 kB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.405, allocations: 0 / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.015e-06/0.405, allocations: 4 kB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.405, allocations: 4 kB / 1.365 GB, free: 12.97 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007534/0.4057, allocations: 377.7 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4058, allocations: 8.031 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.4058, allocations: 20.83 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4061, allocations: 150.3 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4061, allocations: 16.38 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.4062, allocations: 16.38 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.4066, allocations: 165.7 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4066, allocations: 192 / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4066, allocations: 7.938 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4066, allocations: 7.938 kB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.4071, allocations: 143.9 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.4078, allocations: 399.9 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.4083, allocations: 154.6 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.4085, allocations: 72.75 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.4085, allocations: 8 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4086, allocations: 34.55 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.4086, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006735/0.4092, allocations: 217.7 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.4093, allocations: 55.41 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4094, allocations: 121.8 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4094, allocations: 33.64 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.4095, allocations: 124.2 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.4095, allocations: 47.59 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.4096, allocations: 29.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4097, allocations: 318.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4099, allocations: 51.95 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.4101, allocations: 47.95 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.4104, allocations: 130.9 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4104, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004062/0.4108, allocations: 169.4 kB / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4109, allocations: 4 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4109, allocations: 8 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4109, allocations: 0 / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4111, allocations: 39.97 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4111, allocations: 0 / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.4112, allocations: 15.92 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4112, allocations: 4 kB / 1.368 GB, free: 9.855 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 (14): * Single equations (assignments): 14 * 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.0001682/0.4114, allocations: 126.4 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.4114, allocations: 19.83 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.4114, allocations: 20.44 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4115, allocations: 3.984 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4115, allocations: 0 / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4115, allocations: 0 / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4117, allocations: 157.3 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4117, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.4119, allocations: 47.91 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4119, allocations: 4 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4119, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4119, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4119, allocations: 4 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.4124, allocations: 261.6 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.4124, allocations: 23.83 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4124, allocations: 3.984 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4125, allocations: 15.98 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.4126, allocations: 7.984 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4126, allocations: 4 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.584e-05/0.4127, allocations: 103.2 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4127, allocations: 0 / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002365/0.4129, allocations: 23.95 kB / 1.368 GB, free: 8.988 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 (14): * Single equations (assignments): 14 * 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.0001404/0.4131, allocations: 107.2 kB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4135, allocations: 131.9 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4135, allocations: 4 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4137, allocations: 71.83 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4141, allocations: 18.03 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.4147, allocations: 274.7 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4148, allocations: 97.61 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.838e-05/0.4149, allocations: 20.34 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.415, allocations: 11.44 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.415, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of Templates: time 0.004656/0.4196, allocations: 1.315 MB / 1.37 GB, free: 6.969 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.670256373938173]