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.001787/0.001787, allocations: 111 kB / 16.46 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.002248/0.002248, 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.344/3.344, allocations: 0.505 GB / 0.8066 GB, free: 23.03 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.002015/0.002015, allocations: 68.81 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3853, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002433/0.3878, allocations: 0.8742 MB / 1.349 GB, free: 9.082 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3891, allocations: 0.8704 MB / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.3892, allocations: 4 kB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/0.3893, allocations: 7.875 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3894, allocations: 23.78 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.962e-05/0.3895, allocations: 31.97 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3896, allocations: 115.7 kB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3898, allocations: 41.09 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3899, allocations: 47.8 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.39, allocations: 63.67 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.39, allocations: 8 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.39, allocations: 12 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.3901, allocations: 23.92 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3901, allocations: 47.73 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3904, allocations: 139.7 kB / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3904, allocations: 0 / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3904, allocations: 0 / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3904, allocations: 4 kB / 1.35 GB, free: 7.637 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.0007662/0.3912, allocations: 431.1 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3912, allocations: 15.98 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.3913, allocations: 42.73 kB / 1.351 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.3913, allocations: 12.89 kB / 1.351 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3916, allocations: 204.3 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3916, allocations: 8.562 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3916, allocations: 16.31 kB / 1.351 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.392, allocations: 125.5 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.392, allocations: 0 / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.392, allocations: 0 / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.392, allocations: 4 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.3925, allocations: 135.8 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.3932, allocations: 396.7 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.3936, allocations: 102.6 kB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.3938, allocations: 64.8 kB / 1.352 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3939, allocations: 0 / 1.352 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3939, allocations: 38.55 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3939, allocations: 0 / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0008249/0.3947, allocations: 205.4 kB / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3948, allocations: 51.41 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3949, allocations: 140.1 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3949, allocations: 25.7 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.395, allocations: 112 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.395, allocations: 23.81 kB / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.3951, allocations: 21.7 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3952, allocations: 314.8 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3955, allocations: 59.94 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3957, allocations: 73.59 kB / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.3962, allocations: 129.7 kB / 1.353 GB, free: 4.699 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3962, allocations: 0 / 1.353 GB, free: 4.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005203/0.3967, allocations: 161.5 kB / 1.353 GB, free: 4.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3967, allocations: 10.19 kB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3967, allocations: 0 / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3967, allocations: 0 / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3969, allocations: 31.97 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3969, allocations: 3.938 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.397, allocations: 27.94 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.397, allocations: 0 / 1.353 GB, free: 4.465 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 9.985e-05/0.3971, allocations: 117.8 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3972, allocations: 7.953 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3972, allocations: 16.7 kB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3972, allocations: 0 / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3972, allocations: 7.875 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3972, allocations: 0 / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3975, allocations: 209.6 kB / 1.353 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3975, allocations: 3.938 kB / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3976, allocations: 39.97 kB / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3976, allocations: 0 / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3977, allocations: 0 / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3977, allocations: 0 / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3977, allocations: 3.938 kB / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3982, allocations: 251.8 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.3983, allocations: 89.05 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3983, allocations: 0 / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3985, allocations: 19.97 kB / 1.354 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.3985, allocations: 11.92 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3985, allocations: 8 kB / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.3986, allocations: 109.4 kB / 1.354 GB, free: 3.492 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3986, allocations: 0 / 1.354 GB, free: 3.492 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002348/0.3988, allocations: 16 kB / 1.354 GB, free: 3.477 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.0008898/0.3997, allocations: 0.7827 MB / 1.355 GB, free: 2.668 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005279/0.4002, allocations: 131.9 kB / 1.355 GB, free: 2.539 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4002, allocations: 0 / 1.355 GB, free: 2.539 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.4005, allocations: 59.94 kB / 1.355 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4009, allocations: 24.05 kB / 1.355 GB, free: 2.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4035, allocations: 1.651 MB / 1.356 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4039, allocations: 0.6963 MB / 1.357 GB, free: 16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.265e-05/0.4039, allocations: 11.98 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.404, allocations: 27.44 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.404, allocations: 3.938 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.4316, allocations: 2.48 MB / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.419, allocations: 8.062 kB / 1.36 GB, free: 13.68 MB / 1.061 GB " [Timeout remaining time 292] (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: 15.449566276976839]