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.001924/0.001924, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00381/0.00381, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.77 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.613/3.613, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002109/0.002109, allocations: 66.38 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4944, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.00278/0.4971, allocations: 0.8995 MB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.4984, allocations: 0.9064 MB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.4985, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.4986, allocations: 15.8 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.4987, allocations: 15.81 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.4988, allocations: 47.95 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.499, allocations: 152.2 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.4992, allocations: 77.08 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.4993, allocations: 63.78 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.4994, allocations: 55.69 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.4995, allocations: 20 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/0.4995, allocations: 16 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.4995, allocations: 31.92 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.4996, allocations: 63.66 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.4999, allocations: 215.1 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4999, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.095e-06/0.4999, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.4999, allocations: 0 / 1.366 GB, free: 11.01 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.0008012/0.5007, allocations: 381.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5008, allocations: 8.031 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.5008, allocations: 16.84 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.5011, allocations: 166.2 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5012, allocations: 8.375 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.5012, allocations: 16.38 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.5016, allocations: 165.7 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5017, allocations: 4.188 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.5017, allocations: 7.938 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5017, allocations: 4 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.5021, allocations: 143.9 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.5029, allocations: 399.9 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.5035, allocations: 158.6 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.5037, allocations: 79.38 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.5037, allocations: 0 / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5037, allocations: 34.56 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.5037, allocations: 7.938 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006814/0.5044, allocations: 213.8 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.5045, allocations: 55.41 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.5046, allocations: 121.8 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5046, allocations: 25.7 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.5047, allocations: 120.3 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.5048, allocations: 55.53 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.5048, allocations: 29.72 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.505, allocations: 322.8 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.5052, allocations: 51.95 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5053, allocations: 55.95 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.5057, allocations: 127.4 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5057, allocations: 0 / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004043/0.5061, allocations: 165.5 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5061, allocations: 4 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5061, allocations: 0 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5061, allocations: 0 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.5063, allocations: 47.91 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.5063, allocations: 0 / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.5064, allocations: 19.88 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5064, allocations: 4 kB / 1.369 GB, free: 7.883 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.0001226/0.5066, allocations: 125.8 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.5066, allocations: 11.89 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.5066, allocations: 16.42 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5066, allocations: 4 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5066, allocations: 4 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5066, allocations: 0 / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.5069, allocations: 157.3 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5069, allocations: 0 / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.507, allocations: 47.84 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.507, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.507, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.507, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5071, allocations: 4 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.5075, allocations: 263.4 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.5076, allocations: 19.83 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5076, allocations: 4 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.5077, allocations: 19.97 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.5078, allocations: 15.86 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.5078, allocations: 4 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.5078, allocations: 95.27 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5078, allocations: 0 / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000234/0.5081, allocations: 35.89 kB / 1.37 GB, free: 7.012 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.0001398/0.5082, allocations: 99.25 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.5087, allocations: 130.6 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5087, allocations: 0 / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.5089, allocations: 75.88 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.5093, allocations: 16.66 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.5099, allocations: 270.7 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.5101, allocations: 101.6 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.518e-05/0.5101, allocations: 8.359 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.5102, allocations: 11.44 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.5102, allocations: 4 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of Templates: time 0.004717/0.5149, allocations: 1.283 MB / 1.372 GB, free: 5.039 MB / 1.061 GB " [Timeout remaining time 299] 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 -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/jenkins/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.954746348783374]