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.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.001136/0.001136, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002016/0.003152, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001333/0.001333, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002/0.003333, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.069/1.069, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.178, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.95/1.95, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5429/2.492, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.406e-05, allocations: 5.469 kB / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002445/0.00247, allocations: 0.9775 MB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003646, allocations: 0.9339 MB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.003722, allocations: 4 kB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.003771, allocations: 15.8 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.003849, allocations: 16.2 kB / 0.7315 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.003949, allocations: 53.34 kB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.004132, allocations: 149.2 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.004334, allocations: 75.12 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.00453, allocations: 100.4 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.004617, allocations: 51.8 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.004655, allocations: 17 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.004678, allocations: 20 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.004711, allocations: 24.59 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.004757, allocations: 35.88 kB / 0.732 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.004923, allocations: 100.2 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.576e-05/0.004939, allocations: 0 / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00494, allocations: 0.5 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.004957, allocations: 0.625 kB / 0.7321 GB, free: 1.887 MB / 0.698 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.0006075/0.005565, allocations: 361 kB / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.005604, allocations: 8.719 kB / 0.7325 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.005662, allocations: 24.92 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.005849, allocations: 142.9 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.005867, allocations: 12.38 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.005889, allocations: 16.31 kB / 0.7327 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.006132, allocations: 127.2 kB / 0.7328 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.006143, allocations: 192 / 0.7328 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.006156, allocations: 5.969 kB / 0.7328 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.006165, allocations: 4.375 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.006249, allocations: 41.11 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.006763, allocations: 312.7 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.007111, allocations: 104.5 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.00717, allocations: 32.83 kB / 0.7333 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.007186, allocations: 7.984 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.007216, allocations: 34.56 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.175e-06/0.007218, allocations: 0.8125 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0002086/0.007427, allocations: 93.23 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.00746, allocations: 52.66 kB / 0.7335 GB, free: 444 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.007554, allocations: 122.6 kB / 0.7336 GB, free: 308 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.007571, allocations: 33.7 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.007629, allocations: 112.4 kB / 0.7337 GB, free: 152 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.007678, allocations: 57.27 kB / 0.7338 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.007722, allocations: 21.72 kB / 0.7338 GB, free: 68 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007835, allocations: 322.8 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.007863, allocations: 11.98 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.007889, allocations: 9.219 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.098e-05/0.00796, allocations: 44.81 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.007964, allocations: 4 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001211/0.008085, allocations: 78.67 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.008102, allocations: 4.656 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.008108, allocations: 5.062 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.008125, allocations: 3.938 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.008314, allocations: 40.78 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.008317, allocations: 0 / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.00836, allocations: 4.781 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.00837, allocations: 8 kB / 0.7343 GB, free: 15.53 MB / 0.7136 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 7.737e-05/0.008447, allocations: 114.3 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.008478, allocations: 13.2 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.008511, allocations: 12.44 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.008518, allocations: 7.938 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.00852, allocations: 4.656 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.008524, allocations: 0 / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.008699, allocations: 119 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.008702, allocations: 4 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.008834, allocations: 36.66 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.008845, allocations: 7.953 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.008848, allocations: 1.375 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.008855, allocations: 0 / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.008857, allocations: 0 / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.008861, allocations: 3.938 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.009022, allocations: 183.2 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.009035, allocations: 0.75 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.009111, allocations: 8 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.009161, allocations: 16.72 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.009169, allocations: 7.938 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.298e-05/0.009192, allocations: 19.06 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.009192, allocations: 0 / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002277/0.00942, allocations: 31.89 kB / 0.7349 GB, free: 14.91 MB / 0.7136 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.0001319/0.009551, allocations: 85.75 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.009679, allocations: 56.78 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.009688, allocations: 4 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.00976, allocations: 46.03 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01006, allocations: 80.97 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.01079, allocations: 284.2 kB / 0.7354 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.01085, allocations: 67.34 kB / 0.7355 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.167e-05/0.01091, allocations: 8.484 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01101, allocations: 74.39 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.302e-06/0.01102, allocations: 0 / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.004226/0.01524, allocations: 1.234 MB / 0.7367 GB, free: 13.04 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.215563693083823]