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.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.001927/0.001927, allocations: 98.25 kB / 16.45 MB, free: 6.449 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.002284/0.002284, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.554/1.554, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.298/3.298, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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.PIDDerivativeTime,fileNamePrefix="Buildings_12_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_12_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.002015/0.002015, allocations: 66.58 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.389, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002324/0.3913, allocations: 0.8179 MB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3925, allocations: 0.8587 MB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.3926, allocations: 4 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.3926, allocations: 7.922 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.3927, allocations: 11.86 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.904e-05/0.3928, allocations: 27.97 kB / 1.323 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.393, allocations: 99.7 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3931, allocations: 40.44 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.3932, allocations: 35.86 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3933, allocations: 39.83 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3933, allocations: 8 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.3933, allocations: 8 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.3933, allocations: 23.92 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.3934, allocations: 39.8 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3936, allocations: 119.7 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3936, allocations: 0 / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3936, allocations: 0 / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3936, allocations: 4 kB / 1.323 GB, free: 1.188 MB / 1.014 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.0006607/0.3942, allocations: 395.1 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.3943, allocations: 19.97 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.3944, allocations: 34.75 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3944, allocations: 8.891 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3946, allocations: 200.2 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3946, allocations: 4.375 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3947, allocations: 16.36 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.395, allocations: 107.8 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.395, allocations: 3.938 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.395, allocations: 0 / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.395, allocations: 4 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.3954, allocations: 99.91 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.3959, allocations: 360.6 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3962, allocations: 78.53 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3964, allocations: 56.75 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3964, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3964, allocations: 34.56 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3964, allocations: 3.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006088/0.3971, allocations: 161.6 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3971, allocations: 55.34 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3972, allocations: 117.8 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3972, allocations: 25.7 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.3973, allocations: 108 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.3973, allocations: 19.8 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3974, allocations: 21.66 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3975, allocations: 322.8 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.3977, allocations: 43.95 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3978, allocations: 31.97 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.3982, allocations: 93.23 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3982, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000378/0.3985, allocations: 125.6 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3986, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3986, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3986, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3987, allocations: 35.84 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3987, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.3988, allocations: 11.98 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.3988, allocations: 4 kB / 1.325 GB, free: 14.39 MB / 1.029 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.231e-05/0.3989, allocations: 113.8 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.399, allocations: 7.953 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.399, allocations: 16.36 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.399, allocations: 3.938 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.399, allocations: 4 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.399, allocations: 4 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3992, allocations: 189.6 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3992, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3994, allocations: 19.98 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3994, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3994, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3994, allocations: 4.312 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3994, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.3998, allocations: 223.4 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3999, allocations: 85.06 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3999, allocations: 3.938 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4, allocations: 19.91 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.4001, allocations: 11.97 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4001, allocations: 11.94 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.341e-05/0.4001, allocations: 91.27 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4001, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002269/0.4004, allocations: 15.94 kB / 1.326 GB, free: 13.48 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 (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.0007943/0.4012, allocations: 0.7553 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.4016, allocations: 87.92 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4016, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.4017, allocations: 55.89 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4021, allocations: 17.67 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.4046, allocations: 1.498 MB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.405, allocations: 0.6924 MB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.509e-05/0.4051, allocations: 8 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.4051, allocations: 23.42 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4051, allocations: 4 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4377, allocations: 2.074 MB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.586, allocations: 7.109 kB / 1.331 GB, free: 8.344 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.57014246401377]