Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001762/0.001762, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001495/0.001495, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.793 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.442/3.442, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",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.002399/0.002399, allocations: 67.19 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3998, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002764/0.4026, allocations: 1.138 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.404, allocations: 0.9912 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.4041, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.4042, allocations: 27.61 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.4044, allocations: 39.64 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.4046, allocations: 95.86 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.4049, allocations: 307.4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.4052, allocations: 138 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.4054, allocations: 115.6 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.4055, allocations: 103.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.4056, allocations: 36 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.4056, allocations: 36 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.4057, allocations: 67.83 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.4058, allocations: 99.53 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.4063, allocations: 454.5 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4063, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4063, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.4063, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 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.0008773/0.4072, allocations: 485.8 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4072, allocations: 12.03 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.526e-05/0.4073, allocations: 62.72 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.4073, allocations: 28.8 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4077, allocations: 204.8 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4077, allocations: 21.03 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.4077, allocations: 28.31 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.4083, allocations: 262.6 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4084, allocations: 3.938 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.4084, allocations: 12 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4084, allocations: 4 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.4091, allocations: 234.5 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4102, allocations: 0.6595 MB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.4108, allocations: 202.8 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.4111, allocations: 108.8 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4111, allocations: 0 / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4111, allocations: 38.84 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.4111, allocations: 0 / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.000957/0.4121, allocations: 314.7 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4121, allocations: 55.41 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.4123, allocations: 144.6 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4123, allocations: 29.7 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4124, allocations: 148.6 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.4125, allocations: 79.38 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.4125, allocations: 29.72 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4127, allocations: 330.8 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.413, allocations: 83.92 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.4133, allocations: 107.6 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.4138, allocations: 191.7 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4138, allocations: 0 / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006556/0.4145, allocations: 245.4 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4145, allocations: 4 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4145, allocations: 0 / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4145, allocations: 4 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.4148, allocations: 51.89 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4148, allocations: 0 / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4149, allocations: 39.89 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4149, allocations: 4 kB / 1.371 GB, free: 6.055 MB / 1.061 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.0001442/0.4151, allocations: 142.9 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.4151, allocations: 15.84 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.4152, allocations: 21.12 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4152, allocations: 3.938 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4152, allocations: 0 / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4152, allocations: 3.984 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.4155, allocations: 256.5 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4155, allocations: 4 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4158, allocations: 55.89 kB / 1.371 GB, free: 5.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4158, allocations: 4 kB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4158, allocations: 0 / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4158, allocations: 3.938 kB / 1.371 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4158, allocations: 0 / 1.371 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.4165, allocations: 334.1 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.4165, allocations: 11.91 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4165, allocations: 4 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4167, allocations: 23.91 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.4168, allocations: 15.97 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4168, allocations: 8 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.4169, allocations: 111.2 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4169, allocations: 3.938 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002823/0.4171, allocations: 51.78 kB / 1.372 GB, free: 4.934 MB / 1.061 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.001015/0.4182, allocations: 0.8684 MB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006089/0.4188, allocations: 197.9 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4188, allocations: 0 / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.4191, allocations: 107.8 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.4195, allocations: 39.92 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.4228, allocations: 2.107 MB / 1.375 GB, free: 1.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.4229, allocations: 129.6 kB / 1.375 GB, free: 1.375 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000102/0.423, allocations: 17.42 kB / 1.375 GB, free: 1.355 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.4231, allocations: 59.42 kB / 1.375 GB, free: 1.297 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.4231, allocations: 4 kB / 1.375 GB, free: 1.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.455, allocations: 3.934 MB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.95, allocations: 7.938 kB / 1.379 GB, free: 13.54 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_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_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable kp.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv. Warning: Get data of variable kp.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv failed! Error: Could not read variable L.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv. Warning: Get data of variable L.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.287126910872757]