Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001773/0.001773, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002251/0.002251, allocations: 213.1 kB / 22.25 MB, free: 5.242 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.785 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.207/3.207, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_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_12_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.002693/0.002693, allocations: 74.94 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3918, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002586/0.3944, allocations: 0.9317 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3959, allocations: 0.9094 MB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.396, allocations: 4 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.763e-05/0.3961, allocations: 15.8 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3962, allocations: 19.78 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.3963, allocations: 55.94 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3965, allocations: 168.2 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.3967, allocations: 81.03 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.3968, allocations: 63.78 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.3969, allocations: 63.62 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.3969, allocations: 20 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.3969, allocations: 20 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.397, allocations: 35.91 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.3971, allocations: 67.72 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.3974, allocations: 219.1 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3974, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3974, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3974, allocations: 0 / 1.328 GB, free: 15.73 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007598/0.3981, allocations: 401.9 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3982, allocations: 8.031 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.3982, allocations: 46.73 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3983, allocations: 16.84 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3985, allocations: 162.5 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3985, allocations: 16.64 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3986, allocations: 20.38 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.399, allocations: 176.8 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3991, allocations: 3.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3991, allocations: 8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3991, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.3996, allocations: 176.1 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.4004, allocations: 443.3 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.4007, allocations: 138.4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.401, allocations: 84.78 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.401, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.401, allocations: 38.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.401, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008596/0.4019, allocations: 249.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4019, allocations: 55.41 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4021, allocations: 126.1 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4021, allocations: 29.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.4022, allocations: 124.2 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.4022, allocations: 47.59 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.4023, allocations: 33.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4024, allocations: 322.8 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.4027, allocations: 75.92 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.403, allocations: 96.89 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.4035, allocations: 164.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4035, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005786/0.404, allocations: 201.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4041, allocations: 9.562 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4041, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.4043, allocations: 39.91 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4043, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.4044, allocations: 39.91 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4045, allocations: 7.938 kB / 1.331 GB, free: 12.22 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 (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.0001236/0.4046, allocations: 126.2 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.4046, allocations: 7.953 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.4047, allocations: 20.77 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4047, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4047, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4047, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.4049, allocations: 216.5 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4049, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4051, allocations: 39.97 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4051, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4051, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4052, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4052, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.4058, allocations: 292.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.4058, allocations: 7.953 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.4058, allocations: 3.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4059, allocations: 23.97 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.406, allocations: 7.984 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.406, allocations: 8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.4061, allocations: 95.27 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4061, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002467/0.4063, allocations: 31.89 kB / 1.332 GB, free: 11.28 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 (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.0009388/0.4073, allocations: 0.8289 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.4078, allocations: 155.9 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4078, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.4081, allocations: 83.88 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4084, allocations: 28.05 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.4112, allocations: 1.827 MB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4114, allocations: 106.8 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.456e-05/0.4114, allocations: 12.34 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.4115, allocations: 43.42 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4115, allocations: 4 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.4432, allocations: 3.321 MB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.97, allocations: 0.7031 kB / 1.338 GB, free: 4.934 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.811889556702226]