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.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.001869/0.001869, 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.002229/0.002229, allocations: 212.7 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.785 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.403/3.403, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.PIDIntegralTime,fileNamePrefix="Buildings_12_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_12_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.002041/0.002041, allocations: 71.59 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3746, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002228/0.3768, allocations: 0.8202 MB / 1.326 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.378, allocations: 0.8705 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.378, allocations: 0 / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.552e-05/0.3781, allocations: 11.88 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.3782, allocations: 11.81 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.511e-05/0.3783, allocations: 35.95 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3784, allocations: 111.8 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3786, allocations: 37.56 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3787, allocations: 51.84 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.3788, allocations: 39.78 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.3788, allocations: 12 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3788, allocations: 12 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.3789, allocations: 23.92 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.3789, allocations: 39.78 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3791, allocations: 143.7 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3791, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3791, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3791, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 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.0006536/0.3798, allocations: 347.3 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3798, allocations: 8.031 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.3799, allocations: 46.73 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3799, allocations: 12.89 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3801, allocations: 142.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3802, allocations: 4.375 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.3802, allocations: 16.36 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.3805, allocations: 122.2 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3805, allocations: 3.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3806, allocations: 3.984 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3806, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.3809, allocations: 111.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3815, allocations: 343.5 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.3819, allocations: 110.6 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.3821, allocations: 60.81 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3821, allocations: 192 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3821, allocations: 38.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3821, allocations: 3.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006426/0.3828, allocations: 185.4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3828, allocations: 55.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.383, allocations: 113.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.383, allocations: 25.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.3831, allocations: 104 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.3831, allocations: 39.67 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3832, allocations: 21.72 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3833, allocations: 322.8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.3835, allocations: 43.95 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3836, allocations: 39.97 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.384, allocations: 100.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.384, allocations: 8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003769/0.3844, allocations: 138.1 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3844, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3844, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3844, allocations: 3.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3845, allocations: 23.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3845, allocations: 4.094 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.3846, allocations: 23.91 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3846, allocations: 7.938 kB / 1.33 GB, free: 13.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 (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.0001018/0.3848, allocations: 118.4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3848, allocations: 7.953 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.3848, allocations: 12.31 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3848, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.385, allocations: 172.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.385, allocations: 4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3852, allocations: 31.91 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3852, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3852, allocations: 7.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3852, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3852, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.3856, allocations: 235.4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3857, allocations: 7.953 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3857, allocations: 3.938 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3858, allocations: 15.98 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3858, allocations: 7.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3858, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.3859, allocations: 91.27 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3859, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002283/0.3861, allocations: 19.95 kB / 1.33 GB, free: 12.6 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 (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.0007802/0.3869, allocations: 0.7711 MB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3873, allocations: 111.7 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3873, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3875, allocations: 59.89 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3879, allocations: 21.86 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.39, allocations: 1.564 MB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.179e-05/0.3901, allocations: 85.31 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.953e-05/0.3902, allocations: 11.94 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.3902, allocations: 27.42 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3902, allocations: 0 / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.4215, allocations: 2.745 MB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 6.5 kB / 1.336 GB, free: 7.254 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_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_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.962948736269027]