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.001578/0.001578, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.001813/0.001813, allocations: 217.3 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.488/1.488, 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 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.252/3.252, allocations: 0.49 GB / 0.7951 GB, free: 35.63 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.001962/0.001962, allocations: 67.72 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4007, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002092/0.4028, allocations: 0.7848 MB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4039, allocations: 0.8588 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.404, allocations: 3.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.404, allocations: 11.86 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.7e-05/0.4041, allocations: 23.8 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.798e-05/0.4042, allocations: 19.97 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.4044, allocations: 99.83 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4045, allocations: 32.44 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.4046, allocations: 39.86 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.4047, allocations: 35.84 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.4047, allocations: 8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.4047, allocations: 12 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.4048, allocations: 19.92 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.4048, allocations: 35.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.405, allocations: 115.8 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.405, allocations: 3.984 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.405, allocations: 7.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.405, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 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.0006161/0.4056, allocations: 322 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4057, allocations: 8.031 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.4057, allocations: 42.73 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.4058, allocations: 8.891 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.406, allocations: 134.4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.406, allocations: 4.375 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.406, allocations: 12.38 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.4063, allocations: 112.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4063, allocations: 3.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4063, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4063, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.4067, allocations: 87.92 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.4072, allocations: 319.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.4074, allocations: 86.45 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.4076, allocations: 48.83 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4076, allocations: 3.984 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4077, allocations: 42.55 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4077, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.00057/0.4082, allocations: 149.7 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4083, allocations: 59.34 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4084, allocations: 125.7 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.4084, allocations: 25.7 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.4085, allocations: 99.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.4085, allocations: 31.78 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.4086, allocations: 17.72 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4087, allocations: 318.8 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.4089, allocations: 39.97 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.409, allocations: 35.95 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.4093, allocations: 93.23 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4093, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003513/0.4097, allocations: 121.6 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4097, allocations: 4 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4097, allocations: 3.938 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4097, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.4099, allocations: 39.84 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4099, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.4099, allocations: 11.98 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.41, allocations: 0 / 1.33 GB, free: 12.82 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 0.0001041/0.4101, allocations: 114.4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.4101, allocations: 7.953 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.4101, allocations: 8.375 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4101, allocations: 7.938 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4101, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4101, allocations: 7.984 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.4104, allocations: 160.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4104, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.4105, allocations: 15.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4105, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.4105, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4105, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4105, allocations: 3.938 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.4109, allocations: 223.4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.4109, allocations: 7.891 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.411, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4111, allocations: 15.92 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.4111, allocations: 7.984 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4111, allocations: 384 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.4112, allocations: 95.2 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4112, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002264/0.4114, allocations: 20 kB / 1.331 GB, free: 12.06 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.0007686/0.4122, allocations: 0.7553 MB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.4125, allocations: 91.91 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4127, allocations: 47.91 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.4131, allocations: 27.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.4152, allocations: 1.493 MB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.4153, allocations: 84.77 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.4153, allocations: 4 kB / 1.333 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.4154, allocations: 27.42 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4154, allocations: 0 / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.4454, allocations: 2.67 MB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.61, allocations: 5.109 kB / 1.336 GB, free: 6.926 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.504098550009076]