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.001337/0.001337, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00188/0.003217, 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.001174/0.001174, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002589, 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 0.9918/0.9918, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09748/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.897/1.897, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.518/2.415, allocations: 123.3 MB / 0.728 GB, free: 5.832 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 1.643e-06/1.643e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.462e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001425/0.00144, allocations: 1.007 MB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.002392, allocations: 0.9347 MB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.002453, allocations: 4.656 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.002495, allocations: 19.73 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.002562, allocations: 13.2 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.96e-05/0.002642, allocations: 60.8 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.002788, allocations: 164.9 kB / 0.7315 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.002932, allocations: 74.84 kB / 0.7315 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.003064, allocations: 115.7 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.003128, allocations: 52.73 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.003158, allocations: 20 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.003175, allocations: 20.5 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.003198, allocations: 23.94 kB / 0.7318 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.003239, allocations: 40.75 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003369, allocations: 99.61 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.003384, allocations: 1.438 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003385, allocations: 0 / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.003403, allocations: 3.938 kB / 0.7319 GB, free: 1.949 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.0009987/0.004402, allocations: 385.6 kB / 0.7323 GB, free: 1.543 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.004435, allocations: 12.03 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.004475, allocations: 22.64 kB / 0.7323 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.004611, allocations: 137.2 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.004625, allocations: 20.64 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.004641, allocations: 16.38 kB / 0.7325 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.004818, allocations: 142.5 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.004826, allocations: 192 / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.004837, allocations: 5.531 kB / 0.7326 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.004846, allocations: 8.359 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.004901, allocations: 40.52 kB / 0.7326 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.005284, allocations: 321.1 kB / 0.733 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.005388, allocations: 75.36 kB / 0.733 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.005424, allocations: 29.45 kB / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.005438, allocations: 4 kB / 0.7331 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.00546, allocations: 44.31 kB / 0.7331 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.005461, allocations: 0 / 0.7331 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0001481/0.005609, allocations: 85.86 kB / 0.7332 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005641, allocations: 55.41 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.00571, allocations: 129 kB / 0.7334 GB, free: 344 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.005722, allocations: 30.73 kB / 0.7334 GB, free: 308 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.005772, allocations: 128.3 kB / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.0058, allocations: 52.03 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.005839, allocations: 25.7 kB / 0.7336 GB, free: 92 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.005926, allocations: 327.9 kB / 0.7339 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.005946, allocations: 8 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.00598, allocations: 38.48 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.006036, allocations: 59.94 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.006039, allocations: 4 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.383e-05/0.006122, allocations: 80.62 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006136, allocations: 8.625 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.006141, allocations: 0 / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.00615, allocations: 5.781 kB / 0.7341 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.006253, allocations: 39.92 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006257, allocations: 3.984 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.006292, allocations: 15.92 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.006298, allocations: 5.219 kB / 0.7342 GB, free: 15.48 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 5.895e-05/0.006357, allocations: 109.8 kB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.006376, allocations: 17.98 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.006403, allocations: 20.66 kB / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006405, allocations: 4 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006406, allocations: 0 / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006409, allocations: 0 / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.006525, allocations: 113.7 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006526, allocations: 0.75 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.006588, allocations: 28.7 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.0066, allocations: 15.94 kB / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.0066, allocations: 0.75 kB / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.006608, allocations: 7.938 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.00661, allocations: 5.75 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006611, allocations: 0 / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006715, allocations: 167.5 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.006725, allocations: 4 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/0.006772, allocations: 13.17 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.00681, allocations: 19.91 kB / 0.7347 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006813, allocations: 0 / 0.7347 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.006834, allocations: 34.59 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006834, allocations: 0.5312 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001246/0.006959, allocations: 28.7 kB / 0.7347 GB, free: 14.86 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 7.012e-05/0.007029, allocations: 81.8 kB / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.521e-05/0.007124, allocations: 52.78 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.007133, allocations: 5.812 kB / 0.7349 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.007167, allocations: 37.66 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.007344, allocations: 30.73 kB / 0.7349 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.007885, allocations: 296.4 kB / 0.7352 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.253e-05/0.007928, allocations: 73.17 kB / 0.7353 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.007974, allocations: 8.031 kB / 0.7353 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.008045, allocations: 71.34 kB / 0.7353 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.008046, allocations: 0 / 0.7353 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.002956/0.011, allocations: 1.431 MB / 0.7367 GB, free: 12.85 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.082955836318433]