Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001882/0.001882, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002403/0.002403, allocations: 156 kB / 23.01 MB, free: 4.605 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.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.813/2.813, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.002693/0.002693, allocations: 63.89 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.032, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002231/1.034, allocations: 1.21 MB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/1.035, allocations: 1.025 MB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/1.035, allocations: 2.812 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.916e-05/1.036, allocations: 30.28 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/1.036, allocations: 40.55 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/1.036, allocations: 117.5 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/1.036, allocations: 348.7 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/1.036, allocations: 158.9 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/1.036, allocations: 135.4 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/1.036, allocations: 126.4 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/1.037, allocations: 45.56 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.459e-05/1.037, allocations: 44.75 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/1.037, allocations: 83.2 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/1.037, allocations: 119.6 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/1.037, allocations: 0.5378 MB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.037, allocations: 0 / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.754e-06/1.037, allocations: 4 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.037, allocations: 0 / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007349/1.038, allocations: 0.4999 MB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.038, allocations: 8.188 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/1.038, allocations: 35.59 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/1.038, allocations: 208.6 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/1.038, allocations: 27.72 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/1.038, allocations: 25.66 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/1.039, allocations: 314.2 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.039, allocations: 192 / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/1.039, allocations: 15.03 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.039, allocations: 9.938 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/1.039, allocations: 286.2 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/1.04, allocations: 0.7072 MB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/1.041, allocations: 249.9 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/1.041, allocations: 131.1 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/1.041, allocations: 2.75 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/1.041, allocations: 45.34 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/1.041, allocations: 3.984 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.0009157/1.042, allocations: 368.6 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/1.042, allocations: 58.19 kB / 1.161 GB, free: 29.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/1.042, allocations: 141.3 kB / 1.161 GB, free: 28.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.042, allocations: 32.89 kB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/1.042, allocations: 166.8 kB / 1.161 GB, free: 28.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/1.042, allocations: 83.3 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/1.042, allocations: 43.55 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/1.042, allocations: 327.1 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/1.043, allocations: 95.2 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.043, allocations: 127.8 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/1.044, allocations: 228.7 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.044, allocations: 4 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005959/1.044, allocations: 276.3 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.044, allocations: 5.969 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.044, allocations: 0 / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.044, allocations: 6.781 kB / 1.162 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.044, allocations: 71.98 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.044, allocations: 3.125 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/1.045, allocations: 33.8 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.045, allocations: 5.875 kB / 1.162 GB, free: 28.07 MB / 1.076 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 (27): * Single equations (assignments): 27 * 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 9.702e-05/1.045, allocations: 147.2 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/1.045, allocations: 20.56 kB / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/1.045, allocations: 31.5 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.045, allocations: 2.969 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.045, allocations: 0 / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.045, allocations: 3.938 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/1.045, allocations: 237 kB / 1.163 GB, free: 27.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/1.045, allocations: 0 / 1.163 GB, free: 27.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/1.045, allocations: 61.12 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.045, allocations: 2.969 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.045, allocations: 4 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.045, allocations: 2.844 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.045, allocations: 4 kB / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/1.046, allocations: 375.2 kB / 1.163 GB, free: 27.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/1.046, allocations: 17.38 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/1.046, allocations: 6.625 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/1.046, allocations: 19.42 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/1.046, allocations: 19.56 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.046, allocations: 6.781 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.735e-05/1.046, allocations: 111.9 kB / 1.163 GB, free: 27.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.046, allocations: 0 / 1.163 GB, free: 27.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002758/1.047, allocations: 60.12 kB / 1.163 GB, free: 27.34 MB / 1.076 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 (25): * Single equations (assignments): 25 * 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 9.341e-05/1.047, allocations: 101 kB / 1.163 GB, free: 27.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006004/1.047, allocations: 232.7 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.047, allocations: 0 / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/1.048, allocations: 128 kB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/1.048, allocations: 31.25 kB / 1.164 GB, free: 27.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/1.049, allocations: 471.7 kB / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/1.049, allocations: 147.2 kB / 1.164 GB, free: 26.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.717e-05/1.049, allocations: 17.05 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/1.049, allocations: 18.69 kB / 1.164 GB, free: 26.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.049, allocations: 0 / 1.164 GB, free: 26.75 MB / 1.076 GB Notification: Performance of Templates: time 0.004738/1.054, allocations: 1.81 MB / 1.166 GB, free: 26.52 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.161918308003806]