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.PIDDerivativeTime.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: 108.9 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.002253/0.002253, allocations: 216.2 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.421/3.421, 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.PIDDerivativeTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",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.002092/0.002092, allocations: 64.67 kB / 1.172 GB, free: 17.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3887, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002244/0.3909, allocations: 0.8141 MB / 1.349 GB, free: 9.188 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3921, allocations: 0.8588 MB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3921, allocations: 0 / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.3922, allocations: 15.86 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.3923, allocations: 11.88 kB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.515e-05/0.3923, allocations: 27.97 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3925, allocations: 91.77 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3926, allocations: 40.38 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.3927, allocations: 39.84 kB / 1.35 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.3928, allocations: 43.78 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3928, allocations: 12 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.3928, allocations: 8 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.3928, allocations: 19.92 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.3929, allocations: 43.8 kB / 1.35 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3931, allocations: 118.5 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.3931, allocations: 0 / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3931, allocations: 0 / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3931, allocations: 4 kB / 1.35 GB, free: 7.848 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006495/0.3937, allocations: 395.1 kB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3938, allocations: 11.98 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.3938, allocations: 46.73 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.3939, allocations: 8.891 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3941, allocations: 192.2 kB / 1.351 GB, free: 7.109 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3941, allocations: 8.375 kB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3941, allocations: 4.375 kB / 1.351 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.3945, allocations: 116 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3945, allocations: 3.938 kB / 1.351 GB, free: 6.977 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3945, allocations: 7.938 kB / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3945, allocations: 4 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.3948, allocations: 91.91 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.3954, allocations: 372.5 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.3956, allocations: 82.52 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.3958, allocations: 48.83 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3958, allocations: 0 / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3959, allocations: 34.55 kB / 1.351 GB, free: 6.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3959, allocations: 4 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006422/0.3965, allocations: 161.5 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3966, allocations: 55.34 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3967, allocations: 117.8 kB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3967, allocations: 33.7 kB / 1.352 GB, free: 5.879 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.3968, allocations: 100 kB / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3968, allocations: 27.92 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.3969, allocations: 17.72 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.397, allocations: 322.8 kB / 1.352 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3972, allocations: 35.97 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3974, allocations: 43.95 kB / 1.352 GB, free: 5.324 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.3977, allocations: 92.72 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3977, allocations: 0 / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003776/0.3981, allocations: 118 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3981, allocations: 4 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3981, allocations: 4 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3981, allocations: 4 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3983, allocations: 23.91 kB / 1.352 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3983, allocations: 8.062 kB / 1.352 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.3983, allocations: 7.984 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3984, allocations: 4 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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.114e-05/0.3984, allocations: 117.8 kB / 1.352 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3985, allocations: 11.89 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3985, allocations: 12.38 kB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3985, allocations: 3.938 kB / 1.353 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3985, allocations: 0 / 1.353 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3985, allocations: 3.984 kB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3987, allocations: 197.6 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3987, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.3989, allocations: 19.98 kB / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3989, allocations: 0 / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3989, allocations: 0 / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3989, allocations: 7.938 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3989, allocations: 0 / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.3993, allocations: 219.4 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3994, allocations: 81.06 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3994, allocations: 4 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3995, allocations: 27.86 kB / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3995, allocations: 7.984 kB / 1.353 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3995, allocations: 0 / 1.353 GB, free: 4.262 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.3996, allocations: 95.58 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3996, allocations: 0 / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002333/0.3998, allocations: 19.94 kB / 1.353 GB, free: 4.148 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 (7): * Single equations (assignments): 7 * 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.0007729/0.4006, allocations: 0.7554 MB / 1.354 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.401, allocations: 99.8 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.401, allocations: 0 / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.4012, allocations: 47.95 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4016, allocations: 15.94 kB / 1.354 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4037, allocations: 1.493 MB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.404, allocations: 0.6983 MB / 1.356 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.4041, allocations: 4 kB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.4041, allocations: 23.44 kB / 1.356 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.4041, allocations: 0 / 1.356 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.429, allocations: 2.086 MB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.475, allocations: 7.719 kB / 1.358 GB, free: 15 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.411228438839316]