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.00171/0.00171, allocations: 106.8 kB / 16.45 MB, free: 6.453 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.001996/0.001996, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.568/3.568, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) [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.00229/0.00229, allocations: 71.25 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3927, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002384/0.3951, allocations: 0.8685 MB / 1.349 GB, free: 9.148 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3963, allocations: 0.8783 MB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.3964, allocations: 0 / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.3964, allocations: 7.875 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3965, allocations: 23.78 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.816e-05/0.3966, allocations: 31.97 kB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3968, allocations: 119.6 kB / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3969, allocations: 37.09 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.397, allocations: 43.86 kB / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.3971, allocations: 55.77 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.3972, allocations: 12 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.3972, allocations: 12 kB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.3972, allocations: 31.83 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.3973, allocations: 55.73 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3975, allocations: 135.7 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3975, allocations: 0 / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3975, allocations: 0 / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.3975, allocations: 4 kB / 1.35 GB, free: 7.695 MB / 1.045 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.0007413/0.3982, allocations: 435.1 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3983, allocations: 11.98 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.3983, allocations: 42.73 kB / 1.351 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.3984, allocations: 8.891 kB / 1.351 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3986, allocations: 210 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3986, allocations: 8.562 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3986, allocations: 4.375 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.399, allocations: 132.7 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.3991, allocations: 0 / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3991, allocations: 11.94 kB / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3991, allocations: 0 / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.3996, allocations: 123.9 kB / 1.351 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.4002, allocations: 396.7 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.4006, allocations: 110.6 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.4009, allocations: 60.8 kB / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.4009, allocations: 0 / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4009, allocations: 34.56 kB / 1.352 GB, free: 5.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4009, allocations: 4 kB / 1.352 GB, free: 5.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00085/0.4018, allocations: 205.4 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4018, allocations: 55.41 kB / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.402, allocations: 144 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.402, allocations: 25.7 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.4021, allocations: 108 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.4021, allocations: 23.81 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.4021, allocations: 17.72 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4023, allocations: 322.8 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.4025, allocations: 55.94 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.4028, allocations: 69.59 kB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.4033, allocations: 125.5 kB / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4033, allocations: 4 kB / 1.353 GB, free: 4.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005458/0.4038, allocations: 162 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4038, allocations: 11.97 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4038, allocations: 0 / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4038, allocations: 8 kB / 1.353 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.404, allocations: 31.97 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.404, allocations: 3.938 kB / 1.353 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4042, allocations: 23.91 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4042, allocations: 0 / 1.353 GB, free: 4.523 MB / 1.045 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.0001026/0.4043, allocations: 125.8 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.4043, allocations: 7.938 kB / 1.353 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.4044, allocations: 16.7 kB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4044, allocations: 0 / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4044, allocations: 3.938 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4044, allocations: 0 / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.4046, allocations: 209.6 kB / 1.353 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4046, allocations: 3.938 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.4048, allocations: 35.91 kB / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.4048, allocations: 0 / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4048, allocations: 0 / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4048, allocations: 0 / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4048, allocations: 7.938 kB / 1.353 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.4054, allocations: 251.4 kB / 1.354 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.4055, allocations: 85.06 kB / 1.354 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.4055, allocations: 0 / 1.354 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4057, allocations: 19.97 kB / 1.354 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.4057, allocations: 15.92 kB / 1.354 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4057, allocations: 0 / 1.354 GB, free: 3.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.4058, allocations: 103.2 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4058, allocations: 4 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002457/0.4061, allocations: 16 kB / 1.354 GB, free: 3.539 MB / 1.045 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.001008/0.4071, allocations: 0.7826 MB / 1.355 GB, free: 2.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.4076, allocations: 119.8 kB / 1.355 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4076, allocations: 0 / 1.355 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.4079, allocations: 68 kB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.4082, allocations: 29.86 kB / 1.355 GB, free: 2.52 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.4109, allocations: 1.656 MB / 1.356 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4112, allocations: 0.7002 MB / 1.357 GB, free: 52 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.4113, allocations: 4 kB / 1.357 GB, free: 48 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.4114, allocations: 35.42 kB / 1.357 GB, free: 12 kB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.4114, allocations: 0 / 1.357 GB, free: 12 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.4397, allocations: 2.485 MB / 1.359 GB, free: 13.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.777, allocations: 2.375 kB / 1.359 GB, free: 13.73 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/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] "Error: Could not read variable L.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv. Warning: Get data of variable L.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.13402637303807]