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.001305/0.001305, allocations: 113 kB / 18.94 MB, free: 2.934 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.001538/0.001538, allocations: 209.7 kB / 22.25 MB, free: 5.086 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.02 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.278/3.278, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002029/0.002029, allocations: 70.94 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3713, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002854/0.3741, allocations: 1.272 MB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3757, allocations: 1.007 MB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3759, allocations: 0 / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.376, allocations: 31.61 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.3762, allocations: 31.66 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.3763, allocations: 99.91 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.3767, allocations: 307.4 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.377, allocations: 142 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3771, allocations: 119.6 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3773, allocations: 119.5 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.3773, allocations: 32 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.3774, allocations: 36 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.3774, allocations: 63.84 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3776, allocations: 131.3 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.378, allocations: 446.5 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3781, allocations: 11.94 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3781, allocations: 0 / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3781, allocations: 0 / 1.357 GB, free: 4.59 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.0009036/0.379, allocations: 489.8 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.379, allocations: 8.031 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.837e-05/0.3791, allocations: 66.67 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.3792, allocations: 24.8 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3795, allocations: 209 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3795, allocations: 20.97 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.3796, allocations: 24.38 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.3802, allocations: 258.6 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3802, allocations: 3.938 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.3802, allocations: 16 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3802, allocations: 8 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.3808, allocations: 234.5 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.382, allocations: 0.7102 MB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.3826, allocations: 214.7 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.3829, allocations: 112.8 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3829, allocations: 0 / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3829, allocations: 34.56 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.3829, allocations: 4 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009714/0.3839, allocations: 319.2 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.384, allocations: 51.41 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3841, allocations: 144.5 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3841, allocations: 29.7 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3842, allocations: 156.6 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.3843, allocations: 67.39 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.3844, allocations: 37.7 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002491/0.3847, allocations: 326.8 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.3849, allocations: 83.92 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.3852, allocations: 100.3 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.3858, allocations: 195.4 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3858, allocations: 0 / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006068/0.3864, allocations: 241.4 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3864, allocations: 11.97 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3864, allocations: 0 / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3864, allocations: 4 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3867, allocations: 51.91 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.3867, allocations: 7.984 kB / 1.361 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.3869, allocations: 23.88 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3869, allocations: 8 kB / 1.361 GB, free: 172 kB / 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 (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.0001523/0.387, allocations: 145.7 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3871, allocations: 11.94 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.3871, allocations: 21.12 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3871, allocations: 3.938 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3871, allocations: 3.938 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3871, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.3875, allocations: 284.5 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3875, allocations: 0 / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3878, allocations: 59.89 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3878, allocations: 4 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3878, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3878, allocations: 3.938 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3878, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.3884, allocations: 336.7 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.3885, allocations: 11.91 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3885, allocations: 4 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3887, allocations: 27.91 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.3887, allocations: 11.97 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3888, allocations: 8 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.032e-05/0.3888, allocations: 107.3 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3888, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002841/0.3891, allocations: 51.78 kB / 1.362 GB, free: 15.02 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.001266/0.3904, allocations: 0.8727 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007083/0.3911, allocations: 195.8 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3911, allocations: 4.062 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.3914, allocations: 102.3 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3918, allocations: 27.98 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.3951, allocations: 2.118 MB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3956, allocations: 0.7395 MB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.765e-05/0.3957, allocations: 17.42 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3958, allocations: 59.42 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3958, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.4301, allocations: 3.524 MB / 1.369 GB, free: 7.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.53, allocations: 13.11 kB / 1.369 GB, free: 7.398 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.487790043000132]