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.PIGain.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.001336/0.001336, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00145/0.00145, allocations: 212.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.452/3.452, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 64.59 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3919, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002256/0.3941, allocations: 0.9261 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3954, allocations: 0.9094 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.3954, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.693e-05/0.3955, allocations: 23.67 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3956, allocations: 15.81 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.3957, allocations: 55.94 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3959, allocations: 164.2 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.3961, allocations: 88.69 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3962, allocations: 63.78 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.3963, allocations: 79.62 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.3964, allocations: 16 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.3964, allocations: 20 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.3964, allocations: 35.91 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.3965, allocations: 63.67 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3968, allocations: 223.1 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3968, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3968, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3968, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008138/0.3976, allocations: 398 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3976, allocations: 8.031 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.3977, allocations: 16.84 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3979, allocations: 162.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.398, allocations: 16.64 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.398, allocations: 16.38 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.3985, allocations: 180.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3985, allocations: 192 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.3985, allocations: 11.94 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3985, allocations: 4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.399, allocations: 176.1 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.3997, allocations: 407.9 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4001, allocations: 138.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.4004, allocations: 92.72 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4004, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4004, allocations: 34.55 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.4004, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008333/0.4012, allocations: 249.4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4013, allocations: 59.39 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4014, allocations: 124.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4014, allocations: 29.7 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4015, allocations: 128.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.4016, allocations: 51.59 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.4016, allocations: 25.72 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4018, allocations: 326.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.402, allocations: 63.94 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.4023, allocations: 94.44 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.4028, allocations: 178.2 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4028, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005558/0.4033, allocations: 193.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4034, allocations: 11.98 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4034, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4034, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.4036, allocations: 39.91 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.4036, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4038, allocations: 31.98 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.4038, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 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 (15): * Single equations (assignments): 15 * 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.0001196/0.4039, allocations: 130.2 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.4039, allocations: 7.953 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.404, allocations: 16.78 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.404, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.404, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.404, allocations: 3.984 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4042, allocations: 173.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4042, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.4044, allocations: 39.91 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4044, allocations: 7.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4044, allocations: 4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4044, allocations: 0 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4044, allocations: 7.922 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.405, allocations: 291.3 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.4051, allocations: 7.953 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4051, allocations: 4 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4052, allocations: 19.97 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.4053, allocations: 7.984 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4053, allocations: 8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.4054, allocations: 97.23 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002629/0.4056, allocations: 35.89 kB / 1.334 GB, free: 10 MB / 1.029 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 (13): * Single equations (assignments): 13 * 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.0001392/0.4058, allocations: 111.2 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.4063, allocations: 147.8 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4063, allocations: 4.125 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.4066, allocations: 88.5 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.407, allocations: 22.16 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.4077, allocations: 280.3 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4078, allocations: 98.8 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.29e-05/0.4079, allocations: 20.34 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.408, allocations: 15.44 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.408, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of Templates: time 0.005016/0.413, allocations: 1.572 MB / 1.336 GB, free: 7.672 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.645686696007033]