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.002151/0.002151, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001898/0.001898, allocations: 213.5 kB / 22.24 MB, free: 5.105 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.82 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.401/3.401, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002072/0.002072, allocations: 73.03 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3891, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002303/0.3914, allocations: 0.7861 MB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3926, allocations: 0.8548 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.3926, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.3927, allocations: 7.922 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.3928, allocations: 15.86 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.107e-05/0.3928, allocations: 27.97 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.393, allocations: 103.7 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3932, allocations: 24.45 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3933, allocations: 39.84 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.3933, allocations: 35.84 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3934, allocations: 8 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.3934, allocations: 11.94 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.3934, allocations: 27.91 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3935, allocations: 35.86 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3936, allocations: 111.7 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3937, allocations: 8 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3937, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3937, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 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.0006292/0.3943, allocations: 318.1 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3943, allocations: 12.03 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.3944, allocations: 34.75 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3944, allocations: 12.89 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3946, allocations: 142.3 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3946, allocations: 12.38 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3947, allocations: 8.375 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.395, allocations: 104.9 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.395, allocations: 3.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.395, allocations: 8 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.395, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.3954, allocations: 95.91 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.3959, allocations: 311.7 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.3961, allocations: 82.47 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.3963, allocations: 52.75 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3963, allocations: 4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3963, allocations: 38.56 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3963, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005869/0.3969, allocations: 161.7 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.397, allocations: 55.34 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3971, allocations: 113.8 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3971, allocations: 26.08 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.3972, allocations: 108 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3972, allocations: 31.73 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.3972, allocations: 17.72 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3974, allocations: 322.8 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.3975, allocations: 35.95 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3977, allocations: 43.95 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.398, allocations: 84.8 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.398, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003581/0.3984, allocations: 121.6 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3984, allocations: 4 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3984, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3984, allocations: 8 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.3986, allocations: 27.86 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3986, allocations: 4 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.95e-05/0.3987, allocations: 15.92 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3987, allocations: 4 kB / 1.368 GB, free: 9.457 MB / 1.061 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 0.0001093/0.3988, allocations: 113.8 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3988, allocations: 4 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.3988, allocations: 8.375 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3988, allocations: 3.938 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3988, allocations: 4 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3988, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.399, allocations: 160.7 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3991, allocations: 3.984 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3992, allocations: 19.98 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3992, allocations: 3.984 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3992, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3992, allocations: 7.875 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3992, allocations: 4 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.3996, allocations: 223.9 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.3996, allocations: 11.89 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3997, allocations: 4 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3998, allocations: 19.92 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3998, allocations: 3.984 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3998, allocations: 4 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3999, allocations: 91.27 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3999, allocations: 4.281 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002357/0.4001, allocations: 19.95 kB / 1.368 GB, free: 8.684 MB / 1.061 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.000765/0.4009, allocations: 0.7554 MB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4013, allocations: 83.92 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4013, allocations: 4 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.4014, allocations: 47.89 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4018, allocations: 20.58 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4039, allocations: 1.487 MB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.081e-05/0.404, allocations: 79.89 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.404, allocations: 4 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.4041, allocations: 27.42 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of SimCode: time 5.1e-07/0.4041, allocations: 0 / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.4357, allocations: 2.635 MB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.84, allocations: 4 kB / 1.373 GB, free: 3.602 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_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_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.csv","/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: 19.281937776133418]