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.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.001327/0.001327, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001479/0.001479, allocations: 207.6 kB / 22.98 MB, free: 4.41 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_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_12_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.00356/0.00356, allocations: 77.53 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3826, 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.BaseClasses.Validation.PIDGain): time 0.002199/0.3848, allocations: 0.8327 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.386, allocations: 0.8783 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.386, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.3861, allocations: 11.86 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.3862, allocations: 15.81 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.989e-05/0.3863, allocations: 35.95 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3864, allocations: 111.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.3866, allocations: 45.27 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.3867, allocations: 47.78 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.3868, allocations: 51.77 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3868, allocations: 15.94 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.3868, allocations: 12 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.3869, allocations: 19.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.3869, allocations: 43.8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.3871, allocations: 139.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3871, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3871, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3871, allocations: 4 kB / 1.329 GB, free: 14.71 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000699/0.3878, allocations: 354 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3878, allocations: 12.03 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3879, allocations: 8.891 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3881, allocations: 142.5 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3881, allocations: 8.562 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3881, allocations: 4.375 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3885, allocations: 134.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3885, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3886, allocations: 8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3886, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.389, allocations: 123.9 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.3896, allocations: 324.3 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.39, allocations: 106.6 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.3902, allocations: 64.81 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3903, allocations: 7.922 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3903, allocations: 34.56 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3903, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007382/0.391, allocations: 201.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.3911, allocations: 55.41 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3912, allocations: 127.8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3912, allocations: 29.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.3913, allocations: 112.1 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3913, allocations: 27.75 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.3914, allocations: 25.64 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3915, allocations: 322.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3918, allocations: 55.94 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.392, allocations: 65.66 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.3924, allocations: 125.6 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3924, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004684/0.3929, allocations: 157.5 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3929, allocations: 8.031 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3929, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3929, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3931, allocations: 27.97 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3931, allocations: 400 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3932, allocations: 27.91 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3932, allocations: 7.938 kB / 1.332 GB, free: 11.86 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 (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 9.773e-05/0.3933, allocations: 117 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3934, allocations: 11.95 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3934, allocations: 16.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3934, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3934, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3934, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3936, allocations: 145.1 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3936, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3938, allocations: 27.97 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3938, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3938, allocations: 8 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3938, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3938, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.3943, allocations: 255.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.3943, allocations: 19.88 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3943, allocations: 3.938 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.3945, allocations: 23.98 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3945, allocations: 11.95 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3946, allocations: 8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.3946, allocations: 97.52 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3946, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002351/0.3949, allocations: 20 kB / 1.333 GB, free: 11.05 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 (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.0001305/0.395, allocations: 100.3 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.3955, allocations: 123.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3955, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3957, allocations: 59.92 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.396, allocations: 28 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.3966, allocations: 239.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.3967, allocations: 84.89 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.3967, allocations: 19.44 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.3967, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of Templates: time 0.003088/0.3998, allocations: 1.326 MB / 1.335 GB, free: 9.023 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.117537388985511]