Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000824/0.000824, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001972, allocations: 440 kB / 10.41 MB, free: 284 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.00109/0.00109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002596, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9994/0.9994, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.494/2.494, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2293/2.724, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.907e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001474/0.001493, allocations: 1.008 MB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.002278, allocations: 0.9364 MB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.002328, allocations: 8 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.002366, allocations: 19.73 kB / 0.8208 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.277e-05/0.002429, allocations: 23.8 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.065e-05/0.0025, allocations: 47.94 kB / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.002624, allocations: 168.2 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.002753, allocations: 74.12 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.002874, allocations: 115.7 kB / 0.8212 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.002933, allocations: 47.86 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.002958, allocations: 20 kB / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.691e-05/0.002985, allocations: 20.05 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.00301, allocations: 31.88 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.003042, allocations: 35.94 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003162, allocations: 107.5 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.003172, allocations: 0 / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003173, allocations: 0 / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.003185, allocations: 0 / 0.8215 GB, free: 15.81 MB / 0.8073 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.0004285/0.003613, allocations: 384.3 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.003641, allocations: 12.03 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.003676, allocations: 24.92 kB / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.003804, allocations: 141.5 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.003814, allocations: 8.703 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.003831, allocations: 16.38 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.004002, allocations: 141.4 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.00401, allocations: 4.172 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.004019, allocations: 4.375 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004024, allocations: 4.375 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.395e-05/0.004078, allocations: 48.5 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.004432, allocations: 319.7 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.00453, allocations: 80.98 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.004561, allocations: 20.86 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.00457, allocations: 4 kB / 0.8227 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.004595, allocations: 34.56 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.004596, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001353/0.004731, allocations: 89.78 kB / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.004757, allocations: 63.41 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.00482, allocations: 134.6 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004831, allocations: 29.7 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.004877, allocations: 120.3 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.004899, allocations: 47.56 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.004933, allocations: 33.64 kB / 0.8232 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.005, allocations: 318.8 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.005021, allocations: 15.98 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.005055, allocations: 44.8 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.005109, allocations: 59.86 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005111, allocations: 0 / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.127e-05/0.005192, allocations: 73.61 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005204, allocations: 11.94 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005209, allocations: 0 / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.00522, allocations: 0 / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.005324, allocations: 43.91 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005328, allocations: 4 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.005365, allocations: 12 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.005372, allocations: 12.05 kB / 0.8238 GB, free: 13.33 MB / 0.8073 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 5.465e-05/0.005426, allocations: 113.8 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.005444, allocations: 8 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.005469, allocations: 24.7 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005471, allocations: 0 / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.005473, allocations: 0 / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005476, allocations: 4 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.005579, allocations: 109.8 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.00558, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.005645, allocations: 35.92 kB / 0.824 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.005651, allocations: 7.953 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005653, allocations: 4 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.005661, allocations: 11.88 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.005662, allocations: 0 / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005662, allocations: 0 / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.005764, allocations: 172.8 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.005774, allocations: 8 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.00582, allocations: 7.984 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.005855, allocations: 19.86 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.005861, allocations: 8 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.716e-05/0.005878, allocations: 24.78 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005878, allocations: 0 / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001264/0.006005, allocations: 31.95 kB / 0.8243 GB, free: 12.7 MB / 0.8073 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 6.7e-05/0.006072, allocations: 80.41 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.00616, allocations: 57.7 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.006168, allocations: 4 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.006217, allocations: 44.22 kB / 0.8245 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.006409, allocations: 125.1 kB / 0.8246 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.006876, allocations: 295.3 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.00691, allocations: 63.34 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.00695, allocations: 16.47 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.007021, allocations: 71.38 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.007022, allocations: 0 / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of Templates: time 0.002722/0.009744, allocations: 1.436 MB / 0.8264 GB, free: 10.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.316374398767948]