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.PIDGain.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.0008168/0.0008168, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002256, 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.00103/0.00103, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002165, 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1077/1.124, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.956/1.956, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5095/2.466, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.371e-05, allocations: 5.953 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002082/0.002106, allocations: 0.8854 MB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.002888, allocations: 0.9118 MB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.002931, allocations: 0 / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.002974, allocations: 11.81 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.003056, allocations: 14.48 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.513e-05/0.003151, allocations: 35.95 kB / 0.7311 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.00333, allocations: 119.6 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.003463, allocations: 33.95 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.003633, allocations: 88.36 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.003708, allocations: 31.89 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003739, allocations: 13 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.003755, allocations: 12 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.003782, allocations: 15.94 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.00383, allocations: 24.59 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.003981, allocations: 68.19 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.003999, allocations: 0 / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.223e-06/0.004, allocations: 0.7812 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.00402, allocations: 4 kB / 0.7315 GB, free: 2.301 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005629/0.004583, allocations: 329.4 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.004622, allocations: 12.78 kB / 0.7318 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.004667, allocations: 12.94 kB / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.004849, allocations: 135 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.004866, allocations: 8.562 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.00488, allocations: 4.375 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.005099, allocations: 103.9 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.00511, allocations: 0.9688 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005122, allocations: 4 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.005132, allocations: 7.984 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.005203, allocations: 22.42 kB / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.005665, allocations: 243.9 kB / 0.7324 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.005863, allocations: 49.08 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.005906, allocations: 20.8 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.005918, allocations: 4 kB / 0.7324 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.005943, allocations: 30.56 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.005945, allocations: 0.5312 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001769/0.006122, allocations: 67.03 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.00616, allocations: 51.41 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.006254, allocations: 129.6 kB / 0.7327 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.006272, allocations: 31.08 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.006334, allocations: 108 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.006363, allocations: 31.73 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.006408, allocations: 21.7 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.006508, allocations: 319.5 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.006533, allocations: 7.984 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.00657, allocations: 23.05 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.006641, allocations: 45.64 kB / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.006645, allocations: 4.516 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001175/0.006762, allocations: 62.69 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.006781, allocations: 8 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006786, allocations: 0 / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006797, allocations: 0.9688 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.006965, allocations: 31.97 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.00697, allocations: 0.5938 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.007027, allocations: 8.531 kB / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007034, allocations: 0 / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.208e-05/0.007116, allocations: 126.4 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.007144, allocations: 9.312 kB / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.007177, allocations: 12.78 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007179, allocations: 3.938 kB / 0.7335 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.007182, allocations: 1.219 kB / 0.7335 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.007188, allocations: 3.984 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.007349, allocations: 85.92 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007351, allocations: 1.938 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.007454, allocations: 23.94 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.00747, allocations: 15.83 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007473, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.007482, allocations: 3.984 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.007484, allocations: 0.75 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.007486, allocations: 0 / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.00764, allocations: 152.3 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.007656, allocations: 7.922 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.007734, allocations: 16.69 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.00778, allocations: 7.984 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.007787, allocations: 10.17 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.007819, allocations: 20.84 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.007819, allocations: 0 / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001941/0.008013, allocations: 15.95 kB / 0.7339 GB, free: 15.7 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 (8): * Single equations (assignments): 8 * 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.0001321/0.008145, allocations: 89.88 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.008263, allocations: 36.78 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.008273, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.008314, allocations: 22.09 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.008598, allocations: 37.3 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.009225, allocations: 229.6 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.009276, allocations: 64.52 kB / 0.7343 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.027e-05/0.009337, allocations: 6.875 kB / 0.7343 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.816e-05/0.009425, allocations: 63.36 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.009426, allocations: 0 / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.003704/0.01313, allocations: 1.269 MB / 0.7356 GB, free: 13.95 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.141601268202066]