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.PIDIntegralTime.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.001482/0.001482, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001932/0.001932, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.503/1.503, 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.436/3.436, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002307/0.002307, allocations: 63.73 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3832, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.00252/0.3858, allocations: 0.8159 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.387, allocations: 0.8666 MB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.387, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.3871, allocations: 7.875 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.3872, allocations: 19.86 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.379e-05/0.3872, allocations: 31.97 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3874, allocations: 111.8 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3876, allocations: 41.56 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3877, allocations: 51.72 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.3878, allocations: 39.78 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3878, allocations: 12 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.3878, allocations: 12 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3879, allocations: 27.91 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.3879, allocations: 35.8 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3881, allocations: 143.7 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3881, allocations: 3.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3881, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3881, allocations: 0 / 1.366 GB, free: 11.89 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006778/0.3888, allocations: 345.9 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3889, allocations: 8.031 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.3889, allocations: 46.73 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.389, allocations: 12.84 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3892, allocations: 146.3 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3892, allocations: 8.375 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3893, allocations: 8.375 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.3896, allocations: 130 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3896, allocations: 3.938 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3896, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.3897, allocations: 4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.39, allocations: 107.9 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3906, allocations: 343.6 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.391, allocations: 110.6 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.3912, allocations: 56.81 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.3912, allocations: 8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3912, allocations: 34.56 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.3912, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006686/0.3919, allocations: 181.6 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3919, allocations: 51.41 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.392, allocations: 125.8 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3921, allocations: 26.08 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.3921, allocations: 108 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3922, allocations: 27.75 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.3922, allocations: 21.72 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3924, allocations: 322.8 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3925, allocations: 47.89 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3927, allocations: 47.89 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.393, allocations: 96.8 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.393, allocations: 4 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003765/0.3934, allocations: 137.5 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3934, allocations: 8 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3934, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3934, allocations: 3.938 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3936, allocations: 31.97 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3936, allocations: 0 / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.3937, allocations: 15.94 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3937, allocations: 0 / 1.368 GB, free: 9.113 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 (9): * Single equations (assignments): 9 * 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.97e-05/0.3938, allocations: 126.9 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.3938, allocations: 0 / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.3938, allocations: 20.31 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3938, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3938, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3938, allocations: 3.984 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3941, allocations: 176.6 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3941, allocations: 0 / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3942, allocations: 28.25 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3942, allocations: 0 / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3942, allocations: 3.938 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3942, allocations: 11.94 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3942, allocations: 0 / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3947, allocations: 231.4 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.3947, allocations: 7.953 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3947, allocations: 3.938 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3948, allocations: 19.97 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.3949, allocations: 7.984 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3949, allocations: 4 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.3949, allocations: 91.27 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3949, allocations: 0 / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002311/0.3952, allocations: 20 kB / 1.369 GB, free: 8.305 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 (9): * Single equations (assignments): 9 * 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.0007833/0.3959, allocations: 0.7669 MB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.3963, allocations: 115.8 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3964, allocations: 0 / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3965, allocations: 51.95 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3969, allocations: 12.56 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.3992, allocations: 1.572 MB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.3993, allocations: 89.3 kB / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.3993, allocations: 0 / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.3994, allocations: 27.42 kB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3994, allocations: 8 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.4305, allocations: 2.743 MB / 1.374 GB, free: 2.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.86, allocations: 9.359 kB / 1.374 GB, free: 2.977 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.860121364239603]