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.001471/0.001471, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001796/0.001796, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.801 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.385/3.385, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002244/0.002244, allocations: 67.88 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4415, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002395/0.4439, allocations: 0.8286 MB / 1.326 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.4452, allocations: 0.8705 MB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.4452, allocations: 4 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/0.4453, allocations: 15.75 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.4454, allocations: 11.86 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.897e-05/0.4455, allocations: 39.97 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.4457, allocations: 115.7 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.4458, allocations: 33.33 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.446, allocations: 47.8 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.4461, allocations: 51.7 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.4461, allocations: 12 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.4461, allocations: 8 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.4461, allocations: 27.86 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.4462, allocations: 39.8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.4464, allocations: 135.4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4464, allocations: 8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4464, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4464, allocations: 0 / 1.328 GB, free: 15.67 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.0007293/0.4471, allocations: 358 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4472, allocations: 8.031 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.4472, allocations: 12.89 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.4475, allocations: 144.9 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4475, allocations: 0.5625 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4475, allocations: 16.38 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.4479, allocations: 135.3 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4479, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4479, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4479, allocations: 4 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.4484, allocations: 135.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.449, allocations: 324.3 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.4494, allocations: 98.62 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.4497, allocations: 72.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.4497, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4497, allocations: 30.56 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.4497, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008214/0.4505, allocations: 209.6 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4506, allocations: 51.41 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4507, allocations: 130.1 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4507, allocations: 25.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.4508, allocations: 112 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.4509, allocations: 31.73 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.4509, allocations: 21.72 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4511, allocations: 326.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.4513, allocations: 51.94 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.4515, allocations: 73.59 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.452, allocations: 129.5 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.452, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005038/0.4525, allocations: 161.5 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4525, allocations: 6.188 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.4525, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4525, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4527, allocations: 27.97 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4527, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.4528, allocations: 19.97 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4528, allocations: 3.969 kB / 1.33 GB, free: 12.82 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 0.0001143/0.453, allocations: 126.4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.453, allocations: 7.953 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.453, allocations: 8.719 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.453, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.453, allocations: 4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.453, allocations: 3.938 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4532, allocations: 149.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4532, allocations: 3.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4534, allocations: 31.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4534, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4534, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4534, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4534, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.454, allocations: 251.3 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.454, allocations: 19.89 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.454, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4541, allocations: 15.97 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.4542, allocations: 15.98 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4542, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.4543, allocations: 109.5 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4543, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002326/0.4545, allocations: 12 kB / 1.331 GB, free: 12.01 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.0001404/0.4547, allocations: 115.2 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.4552, allocations: 116.3 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4552, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.4554, allocations: 67.94 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4558, allocations: 22.25 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.4563, allocations: 218.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.4564, allocations: 88.19 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.718e-05/0.4564, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.4565, allocations: 15.44 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4565, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Templates: time 0.004609/0.4611, allocations: 1.351 MB / 1.333 GB, free: 10.03 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/jenkins/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: 9.783394418656826]