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.0007714/0.0007714, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.00181, 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.0008264/0.0008264, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008905/0.001717, 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 1.046/1.046, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/1.154, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.96/1.96, allocations: 378.2 MB / 0.6076 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.555/2.515, allocations: 123.3 MB / 0.728 GB, free: 5.789 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.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 1.293e-06/1.293e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.297e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.00224/0.002273, allocations: 1.301 MB / 0.7306 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003533, allocations: 1.063 MB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.003621, allocations: 4 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.003673, allocations: 31.59 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.003757, allocations: 40.42 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003873, allocations: 117.3 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.004108, allocations: 344.4 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.00435, allocations: 162.5 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.004636, allocations: 224.2 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.004725, allocations: 100.5 kB / 0.7326 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.00477, allocations: 44 kB / 0.7326 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.954e-05/0.004799, allocations: 44.66 kB / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.00484, allocations: 59.88 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.004906, allocations: 80.34 kB / 0.7328 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005123, allocations: 215.2 kB / 0.733 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.969e-05/0.005143, allocations: 0.9375 kB / 0.733 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.22e-07/0.005143, allocations: 0 / 0.733 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.005166, allocations: 0.5938 kB / 0.733 GB, free: 0.7539 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.0006162/0.005782, allocations: 0.5091 MB / 0.7335 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.00582, allocations: 9.281 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.005882, allocations: 52.84 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.006094, allocations: 165.5 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.006116, allocations: 29.81 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.006141, allocations: 32.38 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.00641, allocations: 211.8 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.006424, allocations: 1.906 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.006442, allocations: 16.38 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.006454, allocations: 12.36 kB / 0.734 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.006555, allocations: 72.5 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.007225, allocations: 0.5538 MB / 0.7346 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.007489, allocations: 155.7 kB / 0.7348 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.007552, allocations: 60.75 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.007568, allocations: 5.75 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.007597, allocations: 34.56 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.522e-06/0.007599, allocations: 4 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0001985/0.007797, allocations: 131.1 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.007828, allocations: 55.41 kB / 0.7351 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.007903, allocations: 137.2 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.007918, allocations: 30.8 kB / 0.7352 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.007985, allocations: 168.5 kB / 0.7354 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.008031, allocations: 91.19 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.008077, allocations: 38.56 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.008171, allocations: 330.8 kB / 0.7358 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.008201, allocations: 21.53 kB / 0.7358 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.008253, allocations: 57.34 kB / 0.7359 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.071e-05/0.008344, allocations: 90.23 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008346, allocations: 1.031 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001178/0.008464, allocations: 117.5 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.008476, allocations: 8.469 kB / 0.7361 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.00848, allocations: 1.594 kB / 0.7361 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.00849, allocations: 4 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.008651, allocations: 55.97 kB / 0.7362 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.008656, allocations: 13.14 kB / 0.7362 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.008704, allocations: 23.84 kB / 0.7362 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.008713, allocations: 8 kB / 0.7362 GB, free: 13.34 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 8.072e-05/0.008793, allocations: 123 kB / 0.7363 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.008818, allocations: 19.98 kB / 0.7363 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.00885, allocations: 26.05 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.008853, allocations: 4 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008855, allocations: 0.5938 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008859, allocations: 0 / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.009025, allocations: 170.4 kB / 0.7365 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009027, allocations: 0 / 0.7365 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.009147, allocations: 64.59 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.00916, allocations: 16.66 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009161, allocations: 0 / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.009169, allocations: 5.375 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.009172, allocations: 7.984 kB / 0.7366 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009172, allocations: 0 / 0.7366 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.009333, allocations: 225.7 kB / 0.7368 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.009348, allocations: 5.25 kB / 0.7368 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.009398, allocations: 11.98 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.009441, allocations: 19.97 kB / 0.7369 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.009447, allocations: 5.156 kB / 0.7369 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.009471, allocations: 26.55 kB / 0.7369 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.009471, allocations: 0 / 0.7369 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001438/0.009615, allocations: 57.09 kB / 0.737 GB, free: 12.53 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 7.417e-05/0.009689, allocations: 93.12 kB / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.009819, allocations: 98.88 kB / 0.7371 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.009828, allocations: 10.69 kB / 0.7372 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.009878, allocations: 52.78 kB / 0.7372 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.01005, allocations: 31.98 kB / 0.7372 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.01071, allocations: 473 kB / 0.7377 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.202e-05/0.01076, allocations: 84.62 kB / 0.7378 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.01082, allocations: 17.92 kB / 0.7378 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.0109, allocations: 75.38 kB / 0.7379 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.0109, allocations: 0 / 0.7379 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.003669/0.01457, allocations: 1.885 MB / 0.7397 GB, free: 9.797 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.287127829156816]