Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.00115/0.00115, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001806/0.002957, 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.0008666/0.0008666, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002066, allocations: 479.5 kB / 11.83 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.083/1.083, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.107/1.19, 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.921/1.921, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5561/2.477, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.917e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002211/0.00224, allocations: 1.302 MB / 0.7309 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003312, allocations: 1.066 MB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.003398, allocations: 6.062 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.638e-05/0.003455, allocations: 31.59 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/0.003542, allocations: 39.16 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003664, allocations: 119.9 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.003912, allocations: 347 kB / 0.7325 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.004146, allocations: 166.5 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.004349, allocations: 216 kB / 0.7328 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.004441, allocations: 97.02 kB / 0.7329 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.004485, allocations: 44 kB / 0.733 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.004516, allocations: 44 kB / 0.733 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.004561, allocations: 64.31 kB / 0.7331 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.004626, allocations: 84.59 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.004848, allocations: 211.2 kB / 0.7333 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.004863, allocations: 0.625 kB / 0.7333 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.004865, allocations: 0 / 0.7333 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.00488, allocations: 0.9062 kB / 0.7333 GB, free: 0.6875 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006169/0.005497, allocations: 0.5139 MB / 0.7338 GB, free: 148 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.005536, allocations: 12.03 kB / 0.7339 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.0056, allocations: 48.89 kB / 0.7339 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.005808, allocations: 176.3 kB / 0.7341 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.005827, allocations: 25.56 kB / 0.7341 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.005858, allocations: 29.81 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.006126, allocations: 215.3 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.006137, allocations: 192 / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.006153, allocations: 13.45 kB / 0.7343 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.006162, allocations: 8.375 kB / 0.7343 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.006259, allocations: 80.5 kB / 0.7344 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.006919, allocations: 0.5472 MB / 0.735 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.00716, allocations: 158.3 kB / 0.7351 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.007214, allocations: 49.48 kB / 0.7352 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.007229, allocations: 4 kB / 0.7352 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.007254, allocations: 39.88 kB / 0.7352 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.007255, allocations: 0 / 0.7352 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0002045/0.00746, allocations: 134.9 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.007494, allocations: 64.92 kB / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.007577, allocations: 132.5 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.007594, allocations: 33.7 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.007667, allocations: 164.5 kB / 0.7357 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.007718, allocations: 87.2 kB / 0.7358 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.007767, allocations: 43.27 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.007856, allocations: 326.8 kB / 0.7361 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.007885, allocations: 20.45 kB / 0.7362 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.007935, allocations: 50.95 kB / 0.7362 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.008028, allocations: 102.6 kB / 0.7363 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.008034, allocations: 4 kB / 0.7363 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001327/0.008166, allocations: 122.5 kB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.00818, allocations: 4 kB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.008185, allocations: 1.25 kB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.008201, allocations: 4 kB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.008372, allocations: 61.16 kB / 0.7365 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008377, allocations: 4 kB / 0.7365 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.008431, allocations: 28.67 kB / 0.7365 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.008439, allocations: 4 kB / 0.7365 GB, free: 13.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.975e-05/0.008519, allocations: 122.3 kB / 0.7366 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.008543, allocations: 17.02 kB / 0.7367 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.00858, allocations: 25.28 kB / 0.7367 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.008586, allocations: 11.97 kB / 0.7367 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.00859, allocations: 4.844 kB / 0.7367 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008594, allocations: 3.938 kB / 0.7367 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.008773, allocations: 162.9 kB / 0.7369 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.008775, allocations: 4 kB / 0.7369 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.008905, allocations: 60.56 kB / 0.7369 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.00892, allocations: 19.84 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008923, allocations: 0.75 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.008932, allocations: 4 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.008938, allocations: 8.734 kB / 0.737 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008939, allocations: 0 / 0.737 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.009108, allocations: 223.7 kB / 0.7372 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.009121, allocations: 4 kB / 0.7372 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.009174, allocations: 8 kB / 0.7372 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.009224, allocations: 27.95 kB / 0.7372 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.00923, allocations: 4 kB / 0.7372 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.009255, allocations: 28.06 kB / 0.7372 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009255, allocations: 0 / 0.7372 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001559/0.009411, allocations: 55.84 kB / 0.7373 GB, free: 12.45 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 (25): * Single equations (assignments): 25 * 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.76e-05/0.009509, allocations: 94.27 kB / 0.7374 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.009668, allocations: 99.09 kB / 0.7375 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/0.009678, allocations: 0 / 0.7375 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.009759, allocations: 87.94 kB / 0.7376 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01001, allocations: 121.1 kB / 0.7377 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.01076, allocations: 477.1 kB / 0.7381 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01081, allocations: 79.98 kB / 0.7382 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.01087, allocations: 19.08 kB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.01097, allocations: 83.36 kB / 0.7383 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.01097, allocations: 0 / 0.7383 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.003974/0.01495, allocations: 1.875 MB / 0.7401 GB, free: 9.598 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.119819932617247]