Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001898/0.001898, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002637/0.002637, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.98 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.276/3.276, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.PID,fileNamePrefix="Buildings_12_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_12_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.002069/0.002069, allocations: 66.19 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003187/0.39, allocations: 1.276 MB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3918, allocations: 0.999 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3919, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.153e-05/0.392, allocations: 31.59 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3921, allocations: 35.66 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3923, allocations: 99.91 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.3927, allocations: 303.4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.393, allocations: 142 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3932, allocations: 119.6 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3934, allocations: 115.5 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.3934, allocations: 36 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.3935, allocations: 36 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.3935, allocations: 75.78 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3937, allocations: 127.4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.3942, allocations: 446.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3942, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3942, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3942, allocations: 0 / 1.33 GB, free: 14.16 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001021/0.3952, allocations: 485.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.3953, allocations: 8.031 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.3954, allocations: 62.72 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3954, allocations: 32.75 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.3958, allocations: 204.4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3959, allocations: 21.03 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.3959, allocations: 24.38 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.3965, allocations: 266.6 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3965, allocations: 3.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3966, allocations: 12 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.3966, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.3973, allocations: 234.5 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3984, allocations: 0.718 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.3991, allocations: 214.6 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3993, allocations: 104.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3994, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3994, allocations: 42.5 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3994, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009426/0.4003, allocations: 319.2 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.4004, allocations: 51.41 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.4006, allocations: 143.7 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.4006, allocations: 29.64 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4007, allocations: 156.6 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.4008, allocations: 63.44 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.4009, allocations: 37.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4011, allocations: 330.8 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.4013, allocations: 75.94 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.4016, allocations: 103.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.4021, allocations: 206.9 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4021, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007193/0.4028, allocations: 239.5 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4029, allocations: 4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4029, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4029, allocations: 4 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4031, allocations: 51.89 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4031, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4033, allocations: 35.89 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.4033, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 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.0001497/0.4034, allocations: 137.8 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.4035, allocations: 15.91 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.4035, allocations: 25.11 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4036, allocations: 3.938 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4036, allocations: 0 / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4036, allocations: 0 / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.4039, allocations: 284.5 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4039, allocations: 4 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.4042, allocations: 47.91 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.4042, allocations: 4 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4042, allocations: 4 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4042, allocations: 3.938 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4042, allocations: 0 / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.4049, allocations: 343.2 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.4049, allocations: 11.91 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.4049, allocations: 0 / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4051, allocations: 27.91 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.4051, allocations: 23.91 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4051, allocations: 4 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.4052, allocations: 111.2 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4052, allocations: 0 / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002962/0.4055, allocations: 47.83 kB / 1.335 GB, free: 8.59 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 (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.0009572/0.4065, allocations: 0.8773 MB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005918/0.4071, allocations: 197.7 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4071, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.4074, allocations: 103.9 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.4078, allocations: 34.73 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.4113, allocations: 2.103 MB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.4118, allocations: 0.7473 MB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.072e-05/0.4119, allocations: 9.438 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.412, allocations: 63.41 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of SimCode: time 1.393e-06/0.412, allocations: 4 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4447, allocations: 3.528 MB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 6.25 kB / 1.342 GB, free: 0.9453 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_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_PID.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv. Warning: Get data of variable kp.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv failed! Error: Could not read variable L.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv. Warning: Get data of variable L.y from file Buildings_12_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.364201108000998]