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.00181/0.00181, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00209/0.00209, allocations: 213 kB / 23.01 MB, free: 4.57 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.186/3.186, allocations: 0.49 GB / 0.7958 GB, free: 33.29 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.002004/0.002004, allocations: 62.75 kB / 1.155 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4075, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002889/0.4104, allocations: 1.271 MB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.4118, allocations: 1.011 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.4119, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.133e-05/0.412, allocations: 31.66 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.4121, allocations: 27.66 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.4123, allocations: 99.91 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.4126, allocations: 303.4 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.413, allocations: 142 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.4131, allocations: 123.6 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.4133, allocations: 115.5 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.4133, allocations: 36 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.4134, allocations: 36 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.4134, allocations: 67.83 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4136, allocations: 131.3 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.4141, allocations: 450.2 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4141, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4141, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4141, allocations: 0 / 1.331 GB, free: 13.66 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.0008832/0.415, allocations: 485.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.415, allocations: 8.031 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.4151, allocations: 28.75 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.4154, allocations: 204.3 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.4154, allocations: 21.03 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.4155, allocations: 28.38 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.4161, allocations: 258.6 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4161, allocations: 192 / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.4161, allocations: 15.94 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4161, allocations: 4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.4168, allocations: 242.5 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.4179, allocations: 0.718 MB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.4185, allocations: 202.7 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.4188, allocations: 112.7 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4188, allocations: 7.938 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4189, allocations: 34.56 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.4189, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009278/0.4198, allocations: 319.6 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.4198, allocations: 51.41 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.42, allocations: 143.9 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.42, allocations: 25.7 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.4202, allocations: 156.6 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.4202, allocations: 67.42 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.4203, allocations: 41.7 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4204, allocations: 322.8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.4207, allocations: 83.88 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.421, allocations: 109.6 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.4215, allocations: 195.1 kB / 1.335 GB, free: 9.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4215, allocations: 0 / 1.335 GB, free: 9.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005962/0.4221, allocations: 237.4 kB / 1.335 GB, free: 9.418 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4221, allocations: 4 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.4221, allocations: 3.984 kB / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4221, allocations: 3.984 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.4224, allocations: 52 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4224, allocations: 3.938 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.4225, allocations: 39.8 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4225, allocations: 4 kB / 1.335 GB, free: 9.309 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.0001541/0.4227, allocations: 134.4 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.4227, allocations: 15.91 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.4228, allocations: 25.11 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4228, allocations: 0 / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4228, allocations: 7.938 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4228, allocations: 0 / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.4232, allocations: 284.5 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4232, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.4234, allocations: 51.91 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.4234, allocations: 4 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4234, allocations: 4 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4234, allocations: 0 / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4234, allocations: 7.922 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.4241, allocations: 337.3 kB / 1.336 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.4241, allocations: 11.91 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4241, allocations: 0 / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4243, allocations: 27.97 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.4244, allocations: 23.84 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4244, allocations: 7.938 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.772e-05/0.4245, allocations: 110.1 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4245, allocations: 0 / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002803/0.4247, allocations: 47.83 kB / 1.336 GB, free: 8.16 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.0001398/0.4249, allocations: 107.2 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.4255, allocations: 193.3 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4255, allocations: 3.938 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.4258, allocations: 99.94 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.4262, allocations: 23.98 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.4271, allocations: 450.7 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4275, allocations: 0.7395 MB / 1.338 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.4276, allocations: 23.44 kB / 1.338 GB, free: 6.473 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4276, allocations: 3.938 kB / 1.338 GB, free: 6.469 MB / 1.029 GB Notification: Performance of Templates: time 0.004667/0.4323, allocations: 2.303 MB / 1.34 GB, free: 4.168 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 -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: 11.124923672003206]