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.PIDDerivativeTime.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.000807/0.000807, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001871, 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.0007066/0.0007066, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000948/0.001655, 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.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1121/1.123, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.947/1.947, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5839/2.531, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 177] 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.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.745e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002341/0.002369, allocations: 0.8525 MB / 0.7305 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.003507, allocations: 0.8953 MB / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.00356, allocations: 0 / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.003596, allocations: 3.938 kB / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.003665, allocations: 19.47 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.879e-05/0.003733, allocations: 26.59 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003874, allocations: 96.86 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004007, allocations: 36.44 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.00416, allocations: 64.75 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.004228, allocations: 29.53 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.004256, allocations: 8 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.004271, allocations: 12 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.004297, allocations: 12.44 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.00433, allocations: 25.34 kB / 0.7317 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004462, allocations: 59.7 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.004477, allocations: 4 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004478, allocations: 0 / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.004494, allocations: 0.625 kB / 0.7317 GB, free: 2.328 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004101/0.004904, allocations: 293.3 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.004932, allocations: 12.03 kB / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.004954, allocations: 9.578 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.005065, allocations: 126.6 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.005073, allocations: 4.375 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.005086, allocations: 12.31 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.005198, allocations: 89.53 kB / 0.7322 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.005204, allocations: 192 / 0.7322 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.00521, allocations: 5 kB / 0.7322 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005216, allocations: 4.375 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.005249, allocations: 20.95 kB / 0.7323 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.005473, allocations: 220 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.209e-05/0.005545, allocations: 51.55 kB / 0.7325 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.005568, allocations: 16.86 kB / 0.7325 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.005574, allocations: 1.719 kB / 0.7325 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.005591, allocations: 38.5 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.005592, allocations: 0 / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 9.871e-05/0.005691, allocations: 61.66 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.005717, allocations: 52.22 kB / 0.7327 GB, free: 1.227 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.005773, allocations: 118.8 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.005784, allocations: 29.7 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.005819, allocations: 96.52 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.005842, allocations: 33.42 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.005867, allocations: 13.72 kB / 0.733 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.005949, allocations: 318.8 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.005962, allocations: 11.94 kB / 0.7333 GB, free: 0.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.005974, allocations: 4.875 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.006003, allocations: 20.84 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.006007, allocations: 7.938 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.08e-05/0.006057, allocations: 62.78 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.006068, allocations: 6.812 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-06/0.006071, allocations: 0 / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.006078, allocations: 1.75 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.141e-05/0.006139, allocations: 23.92 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.006141, allocations: 0 / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.006162, allocations: 4 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.006167, allocations: 5.219 kB / 0.7334 GB, free: 456 kB / 0.698 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 (7): * Single equations (assignments): 7 * 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 5.295e-05/0.00622, allocations: 113.8 kB / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.006234, allocations: 8.641 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.006254, allocations: 8.438 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.006257, allocations: 5.125 kB / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.006259, allocations: 0 / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.006263, allocations: 7.922 kB / 0.7336 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.006348, allocations: 82.41 kB / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006349, allocations: 4 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.006383, allocations: 16.52 kB / 0.7337 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.006391, allocations: 12.92 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.006391, allocations: 0 / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.006396, allocations: 0.5312 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006396, allocations: 0 / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006397, allocations: 1.562 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.521e-05/0.006492, allocations: 163.4 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.0065, allocations: 0 / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.006535, allocations: 7.938 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.006564, allocations: 13.2 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.006566, allocations: 0 / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.342e-05/0.006579, allocations: 17.17 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006579, allocations: 1.062 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001087/0.006688, allocations: 15.94 kB / 0.7339 GB, free: 15.93 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 (7): * Single equations (assignments): 7 * 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 7.899e-05/0.006767, allocations: 94.16 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.712e-05/0.006834, allocations: 28.78 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.006839, allocations: 4.5 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.006868, allocations: 26.39 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.007035, allocations: 82.14 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.007425, allocations: 198.1 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.007461, allocations: 59.34 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.007488, allocations: 10.44 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.007545, allocations: 63.36 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.007545, allocations: 0 / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.002299/0.009844, allocations: 1.023 MB / 0.7354 GB, free: 14.38 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.114500959403813]