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.PIIntegralTime.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.001786/0.001786, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00316/0.00316, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.535/1.535, 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.346/3.346, 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.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",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.002128/0.002128, allocations: 68.5 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4015, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002387/0.4039, allocations: 0.9099 MB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.4054, allocations: 0.891 MB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.4054, allocations: 0 / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.347e-05/0.4055, allocations: 19.73 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.4056, allocations: 27.73 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.4058, allocations: 47.95 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.406, allocations: 152.2 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.4063, allocations: 73.36 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4064, allocations: 63.78 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4065, allocations: 55.64 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.4065, allocations: 20 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.724e-05/0.4066, allocations: 16 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.4066, allocations: 35.91 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.4067, allocations: 59.72 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.407, allocations: 227 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.407, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.475e-06/0.407, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.407, allocations: 0 / 1.366 GB, free: 11.53 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007959/0.4078, allocations: 373.8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.4079, allocations: 8.031 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.167e-05/0.408, allocations: 54.73 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.408, allocations: 20.84 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4083, allocations: 146.3 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4083, allocations: 12.38 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.4083, allocations: 12.38 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.4088, allocations: 165.7 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4088, allocations: 3.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.4088, allocations: 12 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4088, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.4092, allocations: 139.9 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.4099, allocations: 439.3 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.4104, allocations: 146.6 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.4106, allocations: 84.8 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.4107, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4107, allocations: 30.56 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.4107, allocations: 4 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006903/0.4114, allocations: 221.7 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4114, allocations: 55.41 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4116, allocations: 109.8 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4116, allocations: 33.7 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4117, allocations: 116.3 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.4117, allocations: 55.58 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.4118, allocations: 29.7 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.412, allocations: 322.8 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.4122, allocations: 51.95 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4124, allocations: 66.14 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.4127, allocations: 124.7 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4127, allocations: 0 / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004409/0.4132, allocations: 169.5 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4132, allocations: 4 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4132, allocations: 0 / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4132, allocations: 3.984 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.4134, allocations: 31.98 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4134, allocations: 3.984 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4135, allocations: 31.86 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4135, allocations: 0 / 1.369 GB, free: 8.309 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 (14): * Single equations (assignments): 14 * 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.0001214/0.4136, allocations: 133.7 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.4137, allocations: 7.953 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.4137, allocations: 16.42 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4137, allocations: 4 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4137, allocations: 0 / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4137, allocations: 4 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.414, allocations: 196.6 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.414, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4142, allocations: 39.97 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4142, allocations: 4 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4142, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4142, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4142, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.4147, allocations: 278 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.4147, allocations: 11.89 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.4147, allocations: 4 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4148, allocations: 15.98 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.4149, allocations: 11.98 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.4149, allocations: 4 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.721e-05/0.4149, allocations: 95.64 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4149, allocations: 3.938 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002327/0.4152, allocations: 27.95 kB / 1.37 GB, free: 7.398 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 (14): * Single equations (assignments): 14 * 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.0008346/0.416, allocations: 0.806 MB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.4164, allocations: 123.9 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4164, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4166, allocations: 75.27 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.417, allocations: 26.58 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.4195, allocations: 1.71 MB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4196, allocations: 97.55 kB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.619e-05/0.4196, allocations: 12.5 kB / 1.372 GB, free: 4.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.4197, allocations: 35.42 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.4197, allocations: 0 / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.4518, allocations: 3.005 MB / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12, allocations: 11.98 kB / 1.375 GB, free: 1.566 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.03014593711123]