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.001076/0.001076, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002376, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007358/0.0007358, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009818/0.001718, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9945/0.9945, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1308/1.125, allocations: 53.64 MB / 243.3 MB, free: 15.6 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.839/1.839, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4863/2.325, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.144e-06/2.144e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.143e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001485/0.001506, allocations: 0.9829 MB / 0.7303 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000848/0.002354, allocations: 0.932 MB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.002421, allocations: 4 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.002465, allocations: 11.81 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.002528, allocations: 15.91 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.936e-05/0.002617, allocations: 47.95 kB / 0.7313 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.002781, allocations: 158.7 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.002941, allocations: 75.02 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.003061, allocations: 99.73 kB / 0.7316 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.003118, allocations: 45.28 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.003143, allocations: 20 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.003156, allocations: 16 kB / 0.7317 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.003178, allocations: 28.41 kB / 0.7317 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.003212, allocations: 31.94 kB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.00333, allocations: 100.4 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.003346, allocations: 0 / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003347, allocations: 0.875 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.003362, allocations: 0 / 0.7318 GB, free: 2.031 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.0004208/0.003783, allocations: 365.5 kB / 0.7322 GB, free: 1.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.00381, allocations: 8.031 kB / 0.7322 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.003842, allocations: 29.58 kB / 0.7322 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.004011, allocations: 133.5 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.004024, allocations: 13.06 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.004037, allocations: 12.38 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.0042, allocations: 128.3 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.004209, allocations: 192 / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.004222, allocations: 12.36 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004228, allocations: 384 / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.503e-05/0.004283, allocations: 40.67 kB / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.004669, allocations: 321.8 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.004875, allocations: 98.45 kB / 0.7329 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.004909, allocations: 24.86 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.00492, allocations: 4.594 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.004947, allocations: 38.55 kB / 0.733 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.004948, allocations: 5.125 kB / 0.733 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0001472/0.005096, allocations: 93.48 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.005125, allocations: 51.41 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.005185, allocations: 131.5 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005196, allocations: 25.7 kB / 0.7333 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.005234, allocations: 113 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.005267, allocations: 55.52 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.0053, allocations: 26.39 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.005388, allocations: 322.8 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.005408, allocations: 9.75 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.005425, allocations: 11.98 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.005465, allocations: 36.84 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005467, allocations: 0 / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.482e-05/0.005542, allocations: 82.25 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.005555, allocations: 4 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.005561, allocations: 8.922 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.005571, allocations: 3.938 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.005687, allocations: 36.52 kB / 0.734 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.00569, allocations: 1.125 kB / 0.734 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.005719, allocations: 11.98 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.005725, allocations: 4.719 kB / 0.734 GB, free: 15.67 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 0.0001351/0.00586, allocations: 110.8 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.005883, allocations: 8 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.005907, allocations: 16.42 kB / 0.7341 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.005911, allocations: 9.188 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005913, allocations: 3.938 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005915, allocations: 0 / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.006026, allocations: 122.8 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006028, allocations: 8 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.006111, allocations: 32.55 kB / 0.7343 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.006121, allocations: 13.69 kB / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006122, allocations: 0 / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.006127, allocations: 4 kB / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006128, allocations: 3.938 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.006131, allocations: 7.938 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.006235, allocations: 165.6 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.006247, allocations: 7.984 kB / 0.7345 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.945e-05/0.006286, allocations: 8 kB / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.006321, allocations: 8.734 kB / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.006326, allocations: 11.92 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.408e-05/0.00634, allocations: 17.88 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006341, allocations: 0 / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001255/0.006466, allocations: 32.64 kB / 0.7345 GB, free: 15.05 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 9.98e-05/0.006566, allocations: 89.47 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.006662, allocations: 56.78 kB / 0.7347 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.00667, allocations: 4 kB / 0.7347 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.006703, allocations: 36.77 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.006888, allocations: 33.97 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.007409, allocations: 270.1 kB / 0.735 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.007448, allocations: 68.28 kB / 0.7351 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.007488, allocations: 12.36 kB / 0.7351 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.007555, allocations: 67.36 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.007556, allocations: 0 / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.003009/0.01056, allocations: 1.224 MB / 0.7363 GB, free: 13.27 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.972099778242409]