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.PIDGain.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.001853/0.001853, allocations: 114.3 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.002339/0.002339, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8.012 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.372/3.372, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002072/0.002072, allocations: 67.72 kB / 1.177 GB, free: 17.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3908, allocations: 180.2 MB / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002318/0.3931, allocations: 0.8685 MB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3942, allocations: 0.8821 MB / 1.355 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.3943, allocations: 0 / 1.355 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.3944, allocations: 7.875 kB / 1.355 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3945, allocations: 27.78 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.991e-05/0.3946, allocations: 27.97 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3947, allocations: 119.7 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3949, allocations: 33.3 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.395, allocations: 43.84 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.209e-05/0.3951, allocations: 59.77 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.3951, allocations: 12 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.3952, allocations: 12 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3952, allocations: 27.84 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.3953, allocations: 47.73 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3955, allocations: 143.7 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3955, allocations: 0 / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3955, allocations: 0 / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.3955, allocations: 3.938 kB / 1.355 GB, free: 6.262 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007899/0.3963, allocations: 362 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.3963, allocations: 12.02 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.3964, allocations: 38.75 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3964, allocations: 8.891 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3967, allocations: 150.4 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3967, allocations: 8.562 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3967, allocations: 8.375 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.3971, allocations: 131.4 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3971, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3972, allocations: 7.938 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3972, allocations: 4 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.3976, allocations: 123.9 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.3983, allocations: 375.7 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.3987, allocations: 106.6 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3989, allocations: 60.8 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.399, allocations: 4 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.399, allocations: 34.56 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.399, allocations: 4 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007334/0.3997, allocations: 205.4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3998, allocations: 51.41 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3999, allocations: 139.9 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3999, allocations: 25.7 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.4, allocations: 108 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.4, allocations: 23.81 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.4, allocations: 21.7 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4002, allocations: 318.8 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4004, allocations: 55.94 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.4006, allocations: 65.66 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.401, allocations: 133.7 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.401, allocations: 0 / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004545/0.4015, allocations: 153.5 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4015, allocations: 9.594 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4015, allocations: 3.938 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4015, allocations: 4 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4017, allocations: 31.97 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4017, allocations: 8.109 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.4018, allocations: 19.92 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4018, allocations: 7.938 kB / 1.358 GB, free: 3.289 MB / 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 (9): * Single equations (assignments): 9 * 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.0001091/0.402, allocations: 126.4 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.402, allocations: 11.94 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.402, allocations: 8.719 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.402, allocations: 0 / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.402, allocations: 7.938 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.4021, allocations: 0 / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4023, allocations: 176.6 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4023, allocations: 3.938 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4025, allocations: 31.91 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4025, allocations: 4 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4025, allocations: 8 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4025, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4025, allocations: 3.938 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.403, allocations: 259.8 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.403, allocations: 3.953 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4031, allocations: 4 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4032, allocations: 19.97 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.4033, allocations: 11.92 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4033, allocations: 4 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.4034, allocations: 105.5 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4034, allocations: 4 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002386/0.4036, allocations: 20 kB / 1.359 GB, free: 2.426 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 (8): * Single equations (assignments): 8 * 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.0008949/0.4045, allocations: 0.7826 MB / 1.359 GB, free: 1.617 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004825/0.405, allocations: 127.8 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.405, allocations: 0 / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4052, allocations: 60.02 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.4056, allocations: 19.92 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.4081, allocations: 1.648 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4084, allocations: 0.6963 MB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.4085, allocations: 11.98 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.4086, allocations: 31.42 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4086, allocations: 0 / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.4391, allocations: 2.577 MB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 9.172 kB / 1.364 GB, free: 12.51 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.83056673896499]