Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001949/0.001949, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.002626/0.002626, allocations: 210.8 kB / 22.24 MB, free: 4.875 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.69/3.69, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.002154/0.002154, allocations: 69.97 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4354, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002364/0.4377, allocations: 0.8169 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4388, allocations: 0.8744 MB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.4389, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.772e-05/0.439, allocations: 15.86 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.6e-05/0.4391, allocations: 11.81 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.561e-05/0.4392, allocations: 35.95 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.4393, allocations: 119.7 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4395, allocations: 37.22 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4396, allocations: 47.84 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.4397, allocations: 47.77 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.4397, allocations: 8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.4397, allocations: 12 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.4398, allocations: 27.92 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.4398, allocations: 35.8 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.44, allocations: 143.4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.44, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.44, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.44, allocations: 4 kB / 1.366 GB, free: 11.39 MB / 1.061 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.0007471/0.4408, allocations: 354.1 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4408, allocations: 8.031 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.4409, allocations: 20.84 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.4411, allocations: 150.4 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4411, allocations: 4.562 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.4412, allocations: 12.38 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.4416, allocations: 126.7 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4416, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4416, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4416, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.4421, allocations: 127.9 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.4427, allocations: 320.3 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.4431, allocations: 106.6 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.4433, allocations: 64.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4433, allocations: 4 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4434, allocations: 30.56 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4434, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0007686/0.4441, allocations: 209.6 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4442, allocations: 55.41 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4443, allocations: 126.1 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4443, allocations: 29.7 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.4444, allocations: 108 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4444, allocations: 31.73 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.4445, allocations: 25.72 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4446, allocations: 318.8 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.4448, allocations: 51.95 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4451, allocations: 73.66 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.4455, allocations: 125.8 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4455, allocations: 0 / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004926/0.446, allocations: 165.5 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.446, allocations: 4 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.446, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.446, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4462, allocations: 39.89 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4462, allocations: 4.031 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4463, allocations: 23.92 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4463, allocations: 3.938 kB / 1.369 GB, free: 8.523 MB / 1.061 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 0.0001042/0.4464, allocations: 121.8 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.4465, allocations: 7.953 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.4465, allocations: 20.66 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4465, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4465, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4465, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.4467, allocations: 141.2 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4467, allocations: 0 / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4469, allocations: 31.91 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4469, allocations: 0 / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4469, allocations: 4.172 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4469, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4469, allocations: 7.938 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.4474, allocations: 255.3 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.4474, allocations: 11.89 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4474, allocations: 0 / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4476, allocations: 19.97 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.4476, allocations: 19.97 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.4476, allocations: 0 / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.189e-05/0.4477, allocations: 101.7 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4477, allocations: 0 / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002365/0.448, allocations: 23.95 kB / 1.369 GB, free: 7.715 MB / 1.061 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.0001286/0.4481, allocations: 107.1 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.4486, allocations: 119.9 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4486, allocations: 4.062 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.4488, allocations: 63.88 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4492, allocations: 19.27 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.4497, allocations: 207.3 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.4498, allocations: 80.2 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.517e-05/0.4499, allocations: 11.98 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.4499, allocations: 15.44 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4499, allocations: 0 / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of Templates: time 0.00459/0.4545, allocations: 1.367 MB / 1.371 GB, free: 5.746 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 10.103528736159205]