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.001775/0.001775, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002317/0.002317, allocations: 217.4 kB / 22.25 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.797 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.44/3.44, allocations: 0.505 GB / 0.8101 GB, free: 23.59 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.002071/0.002071, allocations: 65.77 kB / 1.177 GB, free: 16.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 180.2 MB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002274/0.3854, allocations: 0.7791 MB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3867, allocations: 0.851 MB / 1.354 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.3867, allocations: 0 / 1.354 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.3868, allocations: 11.81 kB / 1.354 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3869, allocations: 27.84 kB / 1.354 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.574e-05/0.387, allocations: 27.97 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3872, allocations: 87.83 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3873, allocations: 36.45 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.3874, allocations: 35.86 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.3875, allocations: 39.83 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3875, allocations: 12 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.3875, allocations: 8 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.3876, allocations: 27.91 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.3876, allocations: 35.8 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3878, allocations: 111.8 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3878, allocations: 7.938 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3878, allocations: 0 / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3878, allocations: 3.938 kB / 1.355 GB, free: 5.863 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.0006918/0.3885, allocations: 322 kB / 1.355 GB, free: 5.516 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3885, allocations: 12.03 kB / 1.355 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.3886, allocations: 34.75 kB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3886, allocations: 8.891 kB / 1.355 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3889, allocations: 146.3 kB / 1.355 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3889, allocations: 384 / 1.355 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3889, allocations: 12.38 kB / 1.355 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.3892, allocations: 108.1 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3893, allocations: 3.938 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3893, allocations: 4 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3893, allocations: 4 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.3896, allocations: 95.91 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.3902, allocations: 311.7 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3904, allocations: 82.47 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3906, allocations: 52.8 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3906, allocations: 4 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3907, allocations: 38.56 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3907, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005736/0.3912, allocations: 157.7 kB / 1.356 GB, free: 4.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3913, allocations: 63.28 kB / 1.356 GB, free: 4.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3914, allocations: 117.8 kB / 1.356 GB, free: 4.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3914, allocations: 25.7 kB / 1.356 GB, free: 4.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3915, allocations: 104 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3915, allocations: 19.8 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.3915, allocations: 21.7 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3917, allocations: 315.2 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3918, allocations: 43.95 kB / 1.357 GB, free: 3.613 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.392, allocations: 31.97 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3923, allocations: 93.25 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3923, allocations: 3.938 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003506/0.3926, allocations: 129.5 kB / 1.357 GB, free: 3.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3926, allocations: 4 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3927, allocations: 7.984 kB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3927, allocations: 3.938 kB / 1.357 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3928, allocations: 27.92 kB / 1.357 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3928, allocations: 0 / 1.357 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.3929, allocations: 11.98 kB / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3929, allocations: 4 kB / 1.357 GB, free: 3.293 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.772e-05/0.393, allocations: 113.8 kB / 1.357 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.393, allocations: 7.938 kB / 1.357 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3931, allocations: 20.38 kB / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3931, allocations: 7.938 kB / 1.357 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3931, allocations: 0 / 1.357 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3931, allocations: 0 / 1.357 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3933, allocations: 152.7 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3933, allocations: 0 / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3934, allocations: 27.91 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3934, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3934, allocations: 0 / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3934, allocations: 3.938 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3934, allocations: 4 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.3939, allocations: 215.4 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.3939, allocations: 15.88 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3939, allocations: 0 / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.394, allocations: 19.92 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3941, allocations: 3.984 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3941, allocations: 4 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.967e-05/0.3941, allocations: 95.27 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3941, allocations: 0 / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002272/0.3944, allocations: 16 kB / 1.358 GB, free: 2.531 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.000727/0.3951, allocations: 0.7556 MB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.3954, allocations: 91.86 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3955, allocations: 0 / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.3956, allocations: 51.89 kB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.396, allocations: 15.94 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3981, allocations: 1.486 MB / 1.36 GB, free: 32 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.088e-05/0.3982, allocations: 79.89 kB / 1.36 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.3982, allocations: 11.92 kB / 1.36 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.3983, allocations: 23.44 kB / 1.36 GB, free: 15.89 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3983, allocations: 0 / 1.36 GB, free: 15.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.4273, allocations: 2.669 MB / 1.363 GB, free: 13.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.69, allocations: 9.438 kB / 1.363 GB, free: 13.39 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: 18.91299711097963]