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.001628/0.001628, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.00191/0.00191, allocations: 162 kB / 23.01 MB, free: 4.949 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.617/1.617, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.825/2.825, allocations: 377.9 MB / 0.6228 GB, free: 12.59 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.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: 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.002308/0.002308, allocations: 71.88 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.037, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002168/1.039, allocations: 0.9247 MB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009556/1.04, allocations: 0.9096 MB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/1.04, allocations: 2.906 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/1.04, allocations: 19.5 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/1.04, allocations: 22.61 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/1.04, allocations: 54.08 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000154/1.04, allocations: 166.3 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/1.041, allocations: 66.5 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/1.041, allocations: 69.17 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/1.041, allocations: 66.12 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/1.041, allocations: 19.44 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.995e-05/1.041, allocations: 19.38 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/1.041, allocations: 41.66 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/1.041, allocations: 60.8 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/1.041, allocations: 231.6 kB / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.041, allocations: 0 / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.944e-06/1.041, allocations: 0 / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.764e-06/1.041, allocations: 0 / 1.157 GB, free: 31.66 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006669/1.042, allocations: 399.6 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.042, allocations: 10.47 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/1.042, allocations: 20.97 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.042, allocations: 151.5 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.042, allocations: 19.84 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/1.042, allocations: 14.69 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/1.043, allocations: 178.3 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.043, allocations: 2.875 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/1.043, allocations: 7.938 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.043, allocations: 5.531 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/1.043, allocations: 176 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/1.044, allocations: 411.3 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/1.044, allocations: 141.8 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/1.044, allocations: 86.05 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/1.044, allocations: 3.328 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/1.044, allocations: 33.56 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/1.044, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0007778/1.045, allocations: 257.5 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/1.045, allocations: 51.41 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/1.045, allocations: 134.8 kB / 1.159 GB, free: 30.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/1.045, allocations: 29.7 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/1.045, allocations: 128.6 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/1.045, allocations: 49.22 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/1.045, allocations: 26.25 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/1.045, allocations: 321 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/1.046, allocations: 72.05 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/1.046, allocations: 97.8 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/1.046, allocations: 162.4 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.046, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004898/1.047, allocations: 204 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.047, allocations: 5.844 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/1.047, allocations: 3.328 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.047, allocations: 3.062 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.047, allocations: 35.47 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.047, allocations: 7.938 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/1.047, allocations: 28.66 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.047, allocations: 9.281 kB / 1.16 GB, free: 29.55 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 (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 6.785e-05/1.047, allocations: 123.1 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/1.047, allocations: 10.08 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/1.047, allocations: 15.69 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.047, allocations: 0 / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.047, allocations: 0 / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.047, allocations: 11.31 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/1.047, allocations: 167.8 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.047, allocations: 2.969 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/1.047, allocations: 38.09 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.048, allocations: 0 / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.048, allocations: 6.875 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.048, allocations: 0 / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.048, allocations: 0 / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/1.048, allocations: 291.8 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/1.048, allocations: 10.73 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/1.048, allocations: 7.328 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.048, allocations: 22.08 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/1.048, allocations: 10.27 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.048, allocations: 6.969 kB / 1.16 GB, free: 29.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.888e-05/1.048, allocations: 109.2 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.048, allocations: 2.812 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002474/1.049, allocations: 32.3 kB / 1.161 GB, free: 28.93 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 (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 9.581e-05/1.049, allocations: 105.6 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000535/1.049, allocations: 161.6 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.049, allocations: 3.938 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/1.049, allocations: 73.17 kB / 1.161 GB, free: 28.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/1.05, allocations: 27.72 kB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/1.05, allocations: 289.1 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.166e-05/1.051, allocations: 103.2 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.985e-05/1.051, allocations: 7 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/1.051, allocations: 16.91 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.051, allocations: 0 / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of Templates: time 0.004222/1.055, allocations: 1.414 MB / 1.163 GB, free: 28.33 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.33145828510169]