Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001843/0.001843, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002074/0.002074, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.489/1.489, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.382/3.382, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.PI,fileNamePrefix="Buildings_latest_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_latest_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.002076/0.002076, allocations: 75.31 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3876, allocations: 181.8 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002941/0.3906, allocations: 1.219 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3922, allocations: 1.027 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3923, allocations: 8 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.083e-05/0.3924, allocations: 31.59 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3925, allocations: 31.66 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.3927, allocations: 119.9 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.3931, allocations: 348.4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.3935, allocations: 162.4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3936, allocations: 135.6 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3938, allocations: 119.3 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.3939, allocations: 52 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.3939, allocations: 44 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.394, allocations: 71.84 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3941, allocations: 131.4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.3947, allocations: 0.5409 MB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3947, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3947, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3947, allocations: 0 / 1.367 GB, free: 10.05 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008976/0.3956, allocations: 0.5017 MB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3957, allocations: 8.031 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/0.3958, allocations: 70.72 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.3958, allocations: 32.75 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.3961, allocations: 214.7 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3962, allocations: 21.03 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.3962, allocations: 32.38 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.3969, allocations: 314.5 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3969, allocations: 3.938 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.3969, allocations: 16 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.397, allocations: 8 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.3977, allocations: 286.4 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.3989, allocations: 0.7535 MB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.3995, allocations: 253.6 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.3999, allocations: 130.3 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3999, allocations: 7.938 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3999, allocations: 38.5 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.3999, allocations: 0 / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0009818/0.4009, allocations: 359.5 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.4009, allocations: 63.33 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.4011, allocations: 143.7 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.4011, allocations: 29.7 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4012, allocations: 164.5 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.4013, allocations: 95.2 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.4014, allocations: 41.95 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4015, allocations: 330.8 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.4018, allocations: 92.41 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.4021, allocations: 127.4 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.4027, allocations: 232 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4027, allocations: 0 / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006852/0.4034, allocations: 285.3 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4034, allocations: 8 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4034, allocations: 3.938 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4035, allocations: 0 / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.4038, allocations: 67.89 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4038, allocations: 4 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4039, allocations: 35.89 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4039, allocations: 7.984 kB / 1.372 GB, free: 5.137 MB / 1.061 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.0001687/0.4041, allocations: 149.8 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.4041, allocations: 11.91 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.4042, allocations: 25.28 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4042, allocations: 7.938 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4042, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4042, allocations: 3.984 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.4046, allocations: 292.5 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4046, allocations: 0 / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.4049, allocations: 59.89 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4049, allocations: 0 / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4049, allocations: 4 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.4049, allocations: 7.938 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4049, allocations: 0 / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/0.4057, allocations: 383 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.4057, allocations: 15.91 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.4057, allocations: 4 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.4059, allocations: 31.84 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.4059, allocations: 15.97 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.406, allocations: 4 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.582e-05/0.406, allocations: 109.8 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.406, allocations: 4 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000296/0.4063, allocations: 59.78 kB / 1.373 GB, free: 3.902 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 (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.001075/0.4074, allocations: 0.9039 MB / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006682/0.4081, allocations: 231.7 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4081, allocations: 4 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.4084, allocations: 115.9 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.4088, allocations: 28.06 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.4124, allocations: 2.271 MB / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.4126, allocations: 145.7 kB / 1.377 GB, free: 76 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.4127, allocations: 17.48 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4129, allocations: 79.47 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4129, allocations: 0 / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.4476, allocations: 4.132 MB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.78, allocations: 17.22 kB / 1.381 GB, free: 12.02 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.79313398571685]