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.00127/0.00127, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002282/0.003552, 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.001291/0.001291, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001855/0.003146, 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 0.993/0.993, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09606/1.089, 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.904/1.904, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.527/2.431, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.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: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.182e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.003072/0.003104, allocations: 1.006 MB / 0.7306 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.004362, allocations: 0.9392 MB / 0.7315 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.004456, allocations: 4 kB / 0.7315 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.399e-05/0.00452, allocations: 19.73 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.00462, allocations: 25.14 kB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.004739, allocations: 52.61 kB / 0.7316 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.004969, allocations: 171.3 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.005194, allocations: 71.22 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.00543, allocations: 111.7 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.005532, allocations: 48.75 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.005577, allocations: 20 kB / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.005602, allocations: 20.53 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.005643, allocations: 28.81 kB / 0.7321 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.005697, allocations: 35.94 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005899, allocations: 111.5 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/0.005917, allocations: 0.5 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.005919, allocations: 0.875 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.005935, allocations: 0 / 0.7322 GB, free: 1.812 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006412/0.006576, allocations: 381.7 kB / 0.7326 GB, free: 1.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.006626, allocations: 12.03 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.006684, allocations: 25.58 kB / 0.7326 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.006868, allocations: 137.5 kB / 0.7328 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006882, allocations: 9.391 kB / 0.7328 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.006909, allocations: 20.31 kB / 0.7328 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.007164, allocations: 139.5 kB / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.007176, allocations: 192 / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.007192, allocations: 4.375 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.007202, allocations: 4.375 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.007286, allocations: 45.7 kB / 0.733 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.008039, allocations: 321 kB / 0.7333 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.008191, allocations: 82.52 kB / 0.7334 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.008239, allocations: 29.36 kB / 0.7334 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.008252, allocations: 4 kB / 0.7334 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.008281, allocations: 35.06 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.477e-06/0.008285, allocations: 3.984 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002036/0.008488, allocations: 95.59 kB / 0.7335 GB, free: 412 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.008528, allocations: 59.41 kB / 0.7336 GB, free: 340 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.008624, allocations: 128.9 kB / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.008638, allocations: 25.7 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.008703, allocations: 125.4 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.00876, allocations: 55.7 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.008809, allocations: 29.7 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.0089, allocations: 323.3 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.008931, allocations: 11.98 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.008977, allocations: 35.75 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.009067, allocations: 63 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.009072, allocations: 4 kB / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001436/0.009215, allocations: 82.42 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.009235, allocations: 13.34 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009242, allocations: 0 / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.009256, allocations: 1.031 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.009408, allocations: 39.91 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.009413, allocations: 4.688 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.009467, allocations: 13.78 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.009475, allocations: 0 / 0.7345 GB, free: 15.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 (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 7.755e-05/0.009553, allocations: 117.8 kB / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.00958, allocations: 7.938 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.009613, allocations: 18 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.009615, allocations: 0 / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.009619, allocations: 3.984 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.009624, allocations: 7.938 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.009791, allocations: 114.6 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009793, allocations: 0 / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.009901, allocations: 32.73 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.009913, allocations: 7.953 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.009917, allocations: 4.781 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.009926, allocations: 3.938 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.009928, allocations: 0.7188 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.00993, allocations: 0 / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.0101, allocations: 179.1 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.01011, allocations: 4 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.01017, allocations: 15.92 kB / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.01021, allocations: 11.98 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.01022, allocations: 4.906 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.01024, allocations: 27.16 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 1.156 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001311/0.01037, allocations: 31.95 kB / 0.7351 GB, free: 14.73 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 (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.0001234/0.0105, allocations: 82.28 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.01063, allocations: 56.84 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.01064, allocations: 7.938 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.01069, allocations: 47.27 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01093, allocations: 115.8 kB / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.01155, allocations: 297 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.0116, allocations: 67.33 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.923e-05/0.01164, allocations: 11.33 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.01173, allocations: 67.38 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of SimCode: time 1.413e-06/0.01173, allocations: 0.5 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of Templates: time 0.00363/0.01536, allocations: 1.428 MB / 0.7372 GB, free: 12.61 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain/Buildings_12_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.054562230594456]