Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001326/0.001326, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.001959/0.001959, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.403/3.403, allocations: 0.505 GB / 0.8066 GB, free: 23.08 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.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.002328/0.002328, allocations: 68.83 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4152, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.00248/0.4177, allocations: 1.013 MB / 1.349 GB, free: 9.016 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.419, allocations: 0.9094 MB / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.4191, allocations: 0 / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.011e-05/0.4192, allocations: 11.81 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.4193, allocations: 27.78 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.4194, allocations: 51.94 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.4196, allocations: 172.2 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.4198, allocations: 76.69 kB / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.42, allocations: 63.78 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.4201, allocations: 75.67 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.4201, allocations: 20 kB / 1.35 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.229e-05/0.4201, allocations: 16 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.4202, allocations: 43.84 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.4203, allocations: 75.61 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.4205, allocations: 223 kB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4206, allocations: 4 kB / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4206, allocations: 3.938 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.4206, allocations: 0 / 1.35 GB, free: 7.246 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008917/0.4215, allocations: 471.1 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4215, allocations: 19.98 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.4216, allocations: 46.73 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.4216, allocations: 28.73 kB / 1.351 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.4219, allocations: 216.4 kB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4219, allocations: 12.7 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.4219, allocations: 16.38 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.4224, allocations: 180.7 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4224, allocations: 7.938 kB / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4224, allocations: 4 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4224, allocations: 4 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.423, allocations: 176.1 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.4237, allocations: 0.5079 MB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.4241, allocations: 134.5 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.4244, allocations: 88.78 kB / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4244, allocations: 7.938 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4244, allocations: 34.56 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.4244, allocations: 0 / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.000908/0.4254, allocations: 249.7 kB / 1.353 GB, free: 4.895 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.4254, allocations: 55.41 kB / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4255, allocations: 128.1 kB / 1.353 GB, free: 4.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.4256, allocations: 29.7 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4257, allocations: 132.2 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.4257, allocations: 47.64 kB / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.4258, allocations: 25.72 kB / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4259, allocations: 326.8 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.4262, allocations: 63.94 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.4265, allocations: 98.44 kB / 1.353 GB, free: 3.949 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.427, allocations: 164.6 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.427, allocations: 0 / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005819/0.4276, allocations: 193.5 kB / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4276, allocations: 8 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4276, allocations: 0 / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4276, allocations: 4.062 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4278, allocations: 43.89 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4278, allocations: 4 kB / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.428, allocations: 27.88 kB / 1.354 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.428, allocations: 11.97 kB / 1.354 GB, free: 3.488 MB / 1.045 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 (15): * Single equations (assignments): 15 * 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.0001197/0.4281, allocations: 121.8 kB / 1.354 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.4281, allocations: 11.95 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.4282, allocations: 24.72 kB / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4282, allocations: 0 / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4282, allocations: 0 / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4282, allocations: 7.938 kB / 1.354 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.4285, allocations: 249.4 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4285, allocations: 4 kB / 1.354 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4287, allocations: 39.95 kB / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4287, allocations: 0 / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4287, allocations: 0 / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4287, allocations: 8 kB / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4287, allocations: 0 / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.4293, allocations: 290.1 kB / 1.355 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.4294, allocations: 89.06 kB / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4294, allocations: 0 / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4296, allocations: 23.97 kB / 1.355 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.4296, allocations: 7.984 kB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4296, allocations: 4 kB / 1.355 GB, free: 2.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.4297, allocations: 105.4 kB / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4297, allocations: 0 / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002555/0.4299, allocations: 31.89 kB / 1.355 GB, free: 2.395 MB / 1.045 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 (13): * Single equations (assignments): 13 * 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.001003/0.431, allocations: 0.8255 MB / 1.356 GB, free: 1.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.4315, allocations: 159.9 kB / 1.356 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4315, allocations: 3.938 kB / 1.356 GB, free: 1.383 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.4318, allocations: 80.06 kB / 1.356 GB, free: 1.305 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.4322, allocations: 21.41 kB / 1.356 GB, free: 1.285 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.4353, allocations: 1.832 MB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.4357, allocations: 0.7119 MB / 1.358 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.634e-05/0.4358, allocations: 16.41 kB / 1.358 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.4359, allocations: 47.42 kB / 1.358 GB, free: 14.57 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.4359, allocations: 0 / 1.358 GB, free: 14.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.464, allocations: 2.749 MB / 1.361 GB, free: 12.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.833, allocations: 12.2 kB / 1.361 GB, free: 12.02 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_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_BaseClasses_Validation_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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: 16.12887642509304]