Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001371/0.001371, 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.001575/0.001575, allocations: 216.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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 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.258/3.258, allocations: 0.49 GB / 0.7951 GB, free: 35.6 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",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.002993/0.002993, allocations: 61.69 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3914, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002762/0.3942, allocations: 1.212 MB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3957, allocations: 1.027 MB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3958, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.3959, allocations: 31.59 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.396, allocations: 31.67 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3962, allocations: 119.9 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.3966, allocations: 356.3 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.397, allocations: 174.4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3971, allocations: 131.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3973, allocations: 139.4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.3974, allocations: 48 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.3974, allocations: 44 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.3975, allocations: 83.77 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3976, allocations: 123.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.3982, allocations: 0.5292 MB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3982, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.083e-06/0.3982, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3982, allocations: 3.938 kB / 1.33 GB, free: 13.46 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009218/0.3991, allocations: 0.5056 MB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3992, allocations: 8.031 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.633e-05/0.3993, allocations: 74.66 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.3993, allocations: 28.75 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3997, allocations: 216.4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.3997, allocations: 25.03 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.3997, allocations: 28.38 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.4004, allocations: 314.6 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4004, allocations: 3.938 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4005, allocations: 12 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4005, allocations: 8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.4012, allocations: 286.4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.4024, allocations: 0.7613 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.4031, allocations: 254.6 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.4034, allocations: 125.2 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4034, allocations: 8 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4035, allocations: 38.5 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.4035, allocations: 0 / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001078/0.4045, allocations: 371.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.4046, allocations: 59.34 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.4047, allocations: 135.5 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4048, allocations: 29.7 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4049, allocations: 172.5 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.405, allocations: 87.22 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.4051, allocations: 41.94 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4053, allocations: 326.8 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.4056, allocations: 96.39 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.4059, allocations: 125.1 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.4065, allocations: 241 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4065, allocations: 0 / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007084/0.4072, allocations: 277.3 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.4072, allocations: 4 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4072, allocations: 8 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4072, allocations: 4 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.4075, allocations: 67.83 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4075, allocations: 0 / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.4077, allocations: 35.86 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.4077, allocations: 8 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001667/0.4079, allocations: 145.8 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.4079, allocations: 11.91 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.408, allocations: 33.27 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.408, allocations: 7.938 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.408, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.408, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.4084, allocations: 284.5 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4084, allocations: 11.98 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.4087, allocations: 55.97 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4087, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4087, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.4087, allocations: 15.92 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4087, allocations: 0 / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.4095, allocations: 378.2 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.4095, allocations: 11.91 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4095, allocations: 8 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4097, allocations: 23.91 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.4098, allocations: 23.95 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.4098, allocations: 8 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.105e-05/0.4099, allocations: 105.2 kB / 1.335 GB, free: 7.367 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4099, allocations: 0 / 1.335 GB, free: 7.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002983/0.4102, allocations: 59.78 kB / 1.336 GB, free: 7.309 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 (25): * Single equations (assignments): 25 * 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.001074/0.4112, allocations: 0.9075 MB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000675/0.4119, allocations: 230.3 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4119, allocations: 4.125 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.4122, allocations: 123.8 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.4126, allocations: 27.86 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.4163, allocations: 2.273 MB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.4165, allocations: 149.6 kB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.372e-05/0.4166, allocations: 17.48 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4167, allocations: 75.41 kB / 1.339 GB, free: 3.379 MB / 1.029 GB Notification: Performance of SimCode: time 5.1e-07/0.4167, allocations: 3.938 kB / 1.339 GB, free: 3.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.4487, allocations: 4.223 MB / 1.343 GB, free: 15.31 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.76, allocations: 11.81 kB / 1.343 GB, free: 15.3 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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: 18.69745639298344]