Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001865/0.001865, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001577/0.001577, allocations: 212.7 kB / 22.99 MB, free: 4.957 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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 3.5/3.5, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002145/0.002145, allocations: 75.64 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003489/0.4213, allocations: 1.124 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4233, allocations: 1.007 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.4234, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.554e-05/0.4235, allocations: 27.61 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.4237, allocations: 35.66 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.4239, allocations: 95.91 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.4243, allocations: 303.4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.4246, allocations: 146 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.4248, allocations: 115.6 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.4249, allocations: 123.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.425, allocations: 36 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.425, allocations: 36 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.4251, allocations: 67.83 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4252, allocations: 99.53 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.4257, allocations: 454.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4257, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4257, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.4257, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00094/0.4267, allocations: 483.5 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4267, allocations: 8.031 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.4268, allocations: 32.75 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.4271, allocations: 206.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.4272, allocations: 17.03 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.4272, allocations: 28.38 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.4279, allocations: 262.6 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4279, allocations: 192 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.4279, allocations: 11.94 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4279, allocations: 11.94 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.4286, allocations: 238.5 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.4297, allocations: 0.5899 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.4304, allocations: 214.7 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.4307, allocations: 112.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4307, allocations: 8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4307, allocations: 30.56 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.4307, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009704/0.4317, allocations: 323.2 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4317, allocations: 51.41 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4319, allocations: 143.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4319, allocations: 25.7 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4321, allocations: 156.6 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.4321, allocations: 67.44 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.4322, allocations: 37.7 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4324, allocations: 330.8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.4326, allocations: 79.92 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.4329, allocations: 103.1 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.4334, allocations: 194.9 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4334, allocations: 4 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005968/0.434, allocations: 239.3 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.434, allocations: 4 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.434, allocations: 4 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.434, allocations: 0 / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.4343, allocations: 47.97 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4343, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.4345, allocations: 39.83 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4345, allocations: 7.938 kB / 1.335 GB, free: 9.094 MB / 1.029 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 (21): * Single equations (assignments): 21 * 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.0001424/0.4346, allocations: 142.3 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.4347, allocations: 15.91 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.4347, allocations: 21.11 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.4347, allocations: 4 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4347, allocations: 0 / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4347, allocations: 7.875 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.435, allocations: 209.1 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.435, allocations: 4 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.4353, allocations: 55.89 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4353, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.4353, allocations: 4 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4353, allocations: 4 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4353, allocations: 0 / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.4359, allocations: 337.5 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.436, allocations: 11.91 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.436, allocations: 4 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4361, allocations: 19.97 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.4362, allocations: 19.97 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4362, allocations: 4 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.4363, allocations: 117.2 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4363, allocations: 0 / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002745/0.4366, allocations: 55.78 kB / 1.336 GB, free: 8.02 MB / 1.029 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 (20): * Single equations (assignments): 20 * 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.0001533/0.4367, allocations: 103.2 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006079/0.4374, allocations: 187.8 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4374, allocations: 4.062 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.4376, allocations: 99.86 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.4381, allocations: 31.97 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.4389, allocations: 419.7 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.4391, allocations: 133.6 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.193e-05/0.4392, allocations: 17.42 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.4393, allocations: 19.44 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4393, allocations: 0 / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of Templates: time 0.00556/0.4448, allocations: 1.987 MB / 1.339 GB, free: 5.027 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.486903874989366]