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.001765/0.001765, allocations: 110.7 kB / 16.45 MB, free: 6.391 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.002123/0.002123, allocations: 209.7 kB / 19.43 MB, free: 3.73 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 / 252.8 MB, free: 8.973 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.337/3.337, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.002063/0.002063, allocations: 74 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4046, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002268/0.4068, allocations: 0.8685 MB / 1.349 GB, free: 9.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.408, allocations: 0.8743 MB / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.408, allocations: 0 / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.4081, allocations: 7.875 kB / 1.35 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.4082, allocations: 15.86 kB / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.29e-05/0.4083, allocations: 31.97 kB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.4084, allocations: 115.7 kB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.4086, allocations: 45.36 kB / 1.35 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.4087, allocations: 43.86 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.4088, allocations: 43.77 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.4088, allocations: 12 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.4088, allocations: 16 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.4089, allocations: 23.92 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.4089, allocations: 47.73 kB / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.4091, allocations: 143.6 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4091, allocations: 7.938 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4091, allocations: 0 / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.4091, allocations: 0 / 1.35 GB, free: 7.648 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006851/0.4098, allocations: 420.7 kB / 1.35 GB, free: 7.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4099, allocations: 15.98 kB / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.4099, allocations: 38.73 kB / 1.35 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.4099, allocations: 20.84 kB / 1.35 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.4102, allocations: 196.2 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4102, allocations: 4.375 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.4102, allocations: 16.31 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.4105, allocations: 114.2 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4105, allocations: 7.938 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.4106, allocations: 4 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4106, allocations: 4 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.411, allocations: 111.8 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.4115, allocations: 400.5 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.4119, allocations: 114.6 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.4121, allocations: 56.81 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4121, allocations: 0 / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4121, allocations: 42.55 kB / 1.352 GB, free: 5.941 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.4121, allocations: 0 / 1.352 GB, free: 5.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006273/0.4128, allocations: 177.6 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4128, allocations: 59.34 kB / 1.352 GB, free: 5.691 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.4129, allocations: 117.8 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4129, allocations: 25.7 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.413, allocations: 108 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.413, allocations: 31.73 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.4131, allocations: 21.72 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4132, allocations: 318.8 kB / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.4134, allocations: 43.97 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.4136, allocations: 47.89 kB / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.4139, allocations: 101.3 kB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4139, allocations: 0 / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003945/0.4143, allocations: 141.5 kB / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4143, allocations: 4 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4143, allocations: 0 / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4144, allocations: 3.938 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4145, allocations: 35.91 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4145, allocations: 0 / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.981e-05/0.4146, allocations: 11.98 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4146, allocations: 4 kB / 1.353 GB, free: 4.652 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 (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 0.0001033/0.4147, allocations: 121.8 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.4147, allocations: 3.953 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.4148, allocations: 20.3 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4148, allocations: 0 / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4148, allocations: 0 / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4148, allocations: 3.984 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.415, allocations: 213.6 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.415, allocations: 0 / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.4152, allocations: 27.98 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4152, allocations: 0 / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4152, allocations: 3.938 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4152, allocations: 3.938 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4152, allocations: 4 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.4156, allocations: 231.4 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.4157, allocations: 88.94 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4157, allocations: 11.92 kB / 1.353 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4158, allocations: 11.98 kB / 1.353 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.4159, allocations: 7.984 kB / 1.353 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.4159, allocations: 4.188 kB / 1.353 GB, free: 3.816 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.4159, allocations: 87.28 kB / 1.354 GB, free: 3.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4159, allocations: 3.938 kB / 1.354 GB, free: 3.727 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002352/0.4162, allocations: 23.95 kB / 1.354 GB, free: 3.703 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 (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.0007832/0.417, allocations: 0.7748 MB / 1.354 GB, free: 2.902 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.4174, allocations: 103.8 kB / 1.354 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4174, allocations: 4 kB / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.4176, allocations: 51.89 kB / 1.354 GB, free: 2.746 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4179, allocations: 19.98 kB / 1.354 GB, free: 2.727 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.4202, allocations: 1.56 MB / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.4205, allocations: 0.704 MB / 1.357 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.613e-05/0.4205, allocations: 0 / 1.357 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.4206, allocations: 31.42 kB / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.4206, allocations: 0 / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.4473, allocations: 2.202 MB / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.546, allocations: 3.938 kB / 1.359 GB, free: 14.33 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.583056903909892]