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.001373/0.001373, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001581/0.001581, allocations: 218.4 kB / 22.25 MB, free: 5.258 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.785 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.281/3.281, allocations: 0.505 GB / 0.8101 GB, free: 23.52 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.002304/0.002304, allocations: 74.58 kB / 1.177 GB, free: 16.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3772, allocations: 180.2 MB / 1.353 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003197/0.3804, allocations: 1.135 MB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.382, allocations: 1.003 MB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.3822, allocations: 4 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.889e-05/0.3822, allocations: 23.67 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.3824, allocations: 35.66 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.3826, allocations: 95.91 kB / 1.355 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.3829, allocations: 311.4 kB / 1.355 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.3832, allocations: 142 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3834, allocations: 119.6 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3836, allocations: 115.5 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.3836, allocations: 36 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.3836, allocations: 36 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.3837, allocations: 67.77 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3838, allocations: 111.5 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.3843, allocations: 446.5 kB / 1.356 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3843, allocations: 4 kB / 1.356 GB, free: 4.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3843, allocations: 4 kB / 1.356 GB, free: 4.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3843, allocations: 0 / 1.356 GB, free: 4.227 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008671/0.3852, allocations: 485.8 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3852, allocations: 8.031 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.61e-05/0.3853, allocations: 58.73 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.3854, allocations: 24.8 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.3857, allocations: 214.7 kB / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3858, allocations: 17.03 kB / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.3858, allocations: 24.38 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.3864, allocations: 258.6 kB / 1.357 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3864, allocations: 7.938 kB / 1.357 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3865, allocations: 8 kB / 1.357 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3865, allocations: 8 kB / 1.357 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.3871, allocations: 242.4 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3883, allocations: 0.64 MB / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.3889, allocations: 210.7 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.3892, allocations: 104.8 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.3892, allocations: 7.984 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3892, allocations: 38.56 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.3892, allocations: 4 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009626/0.3902, allocations: 311.2 kB / 1.359 GB, free: 1.457 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3903, allocations: 55.41 kB / 1.359 GB, free: 1.391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3904, allocations: 143.6 kB / 1.359 GB, free: 1.242 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3905, allocations: 29.7 kB / 1.359 GB, free: 1.207 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3906, allocations: 160.6 kB / 1.359 GB, free: 1.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.3907, allocations: 71.33 kB / 1.359 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.3907, allocations: 37.7 kB / 1.359 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3909, allocations: 326.8 kB / 1.36 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.3912, allocations: 83.92 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3915, allocations: 103.5 kB / 1.36 GB, free: 424 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.3921, allocations: 187.5 kB / 1.36 GB, free: 232 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3921, allocations: 4 kB / 1.36 GB, free: 228 kB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006889/0.3928, allocations: 239.2 kB / 1.36 GB, free: 15.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.3928, allocations: 8 kB / 1.36 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3928, allocations: 0 / 1.36 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3928, allocations: 0 / 1.36 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.3931, allocations: 67.88 kB / 1.36 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3931, allocations: 3.984 kB / 1.36 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3933, allocations: 27.88 kB / 1.36 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3933, allocations: 4 kB / 1.36 GB, free: 15.88 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.0001898/0.3935, allocations: 141.8 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3935, allocations: 19.89 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.3936, allocations: 21.12 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3936, allocations: 11.94 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3936, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3936, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.394, allocations: 256.6 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.394, allocations: 3.938 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3943, allocations: 43.97 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3943, allocations: 0 / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3943, allocations: 4 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3943, allocations: 11.92 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3943, allocations: 7.984 kB / 1.361 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.3951, allocations: 329.3 kB / 1.361 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.3951, allocations: 15.91 kB / 1.361 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.3952, allocations: 4 kB / 1.361 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3953, allocations: 27.91 kB / 1.361 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.3954, allocations: 19.97 kB / 1.361 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3954, allocations: 4 kB / 1.361 GB, free: 14.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001373/0.3956, allocations: 104.8 kB / 1.361 GB, free: 14.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3956, allocations: 0 / 1.361 GB, free: 14.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003357/0.3959, allocations: 59.72 kB / 1.361 GB, free: 14.74 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.001127/0.397, allocations: 0.8684 MB / 1.362 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006209/0.3976, allocations: 194.5 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3976, allocations: 3.938 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3979, allocations: 107.9 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3984, allocations: 24.59 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.4021, allocations: 2.099 MB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.4022, allocations: 137.5 kB / 1.365 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.4023, allocations: 17.42 kB / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4024, allocations: 67.36 kB / 1.365 GB, free: 11.11 MB / 1.061 GB Notification: Performance of SimCode: time 1.373e-06/0.4024, allocations: 0 / 1.365 GB, free: 11.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.4452, allocations: 4 MB / 1.369 GB, free: 7.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 10 kB / 1.369 GB, free: 7.277 MB / 1.061 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: 18.77083940297598]