Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001666/0.001666, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002046/0.002046, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.011/3.011, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 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.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="cs",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.002073/0.002073, allocations: 63.91 kB / 1.165 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 179 MB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002778/1.101, allocations: 1.357 MB / 1.341 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001518/1.102, allocations: 1.027 MB / 1.342 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/1.102, allocations: 4.375 kB / 1.342 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.47e-05/1.102, allocations: 31.55 kB / 1.343 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/1.102, allocations: 34.88 kB / 1.343 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/1.103, allocations: 119.3 kB / 1.343 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004318/1.103, allocations: 353.3 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/1.103, allocations: 179.9 kB / 1.343 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/1.104, allocations: 129 kB / 1.343 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/1.104, allocations: 137.9 kB / 1.343 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/1.104, allocations: 45.19 kB / 1.343 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/1.104, allocations: 45.12 kB / 1.344 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/1.104, allocations: 80.8 kB / 1.344 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/1.104, allocations: 154.1 kB / 1.344 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006074/1.105, allocations: 0.5353 MB / 1.344 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.105, allocations: 1.031 kB / 1.344 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.685e-06/1.105, allocations: 4 kB / 1.344 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.105, allocations: 0 / 1.344 GB, free: 10.49 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001114/1.106, allocations: 0.5778 MB / 1.345 GB, free: 9.961 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.106, allocations: 10.25 kB / 1.345 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.735e-05/1.106, allocations: 20.53 kB / 1.345 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/1.106, allocations: 68.5 kB / 1.345 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/1.106, allocations: 32.25 kB / 1.345 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/1.107, allocations: 270.1 kB / 1.345 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.107, allocations: 22.34 kB / 1.345 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/1.107, allocations: 36 kB / 1.345 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/1.107, allocations: 314.2 kB / 1.346 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.107, allocations: 0 / 1.346 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/1.107, allocations: 15.06 kB / 1.346 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.107, allocations: 7.562 kB / 1.346 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/1.108, allocations: 287.2 kB / 1.346 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/1.109, allocations: 0.8758 MB / 1.347 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/1.11, allocations: 266.5 kB / 1.347 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/1.111, allocations: 130.7 kB / 1.347 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/1.111, allocations: 2.875 kB / 1.347 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.111, allocations: 39.97 kB / 1.347 GB, free: 8.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.405e-06/1.111, allocations: 0 / 1.347 GB, free: 8.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001156/1.112, allocations: 369.1 kB / 1.347 GB, free: 8.051 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.112, allocations: 53.94 kB / 1.348 GB, free: 7.988 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/1.112, allocations: 137.3 kB / 1.348 GB, free: 7.871 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/1.112, allocations: 30.92 kB / 1.348 GB, free: 7.836 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.112, allocations: 169.7 kB / 1.348 GB, free: 7.676 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/1.112, allocations: 88.81 kB / 1.348 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/1.112, allocations: 39.66 kB / 1.348 GB, free: 7.562 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.113, allocations: 330.4 kB / 1.348 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/1.113, allocations: 98.55 kB / 1.348 GB, free: 7.188 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/1.113, allocations: 121.6 kB / 1.348 GB, free: 7.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/1.114, allocations: 238.7 kB / 1.349 GB, free: 6.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.114, allocations: 0 / 1.349 GB, free: 6.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007673/1.115, allocations: 281.3 kB / 1.349 GB, free: 6.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.115, allocations: 6.094 kB / 1.349 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.115, allocations: 0 / 1.349 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.115, allocations: 6.188 kB / 1.349 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/1.115, allocations: 66.95 kB / 1.349 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.115, allocations: 6.406 kB / 1.349 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/1.115, allocations: 33.45 kB / 1.349 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/1.115, allocations: 4.469 kB / 1.349 GB, free: 6.789 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001722/1.115, allocations: 147.2 kB / 1.349 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/1.115, allocations: 15.88 kB / 1.349 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.631e-05/1.115, allocations: 19.06 kB / 1.349 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.116, allocations: 6.938 kB / 1.349 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.116, allocations: 4 kB / 1.349 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.116, allocations: 7.922 kB / 1.349 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/1.116, allocations: 356 kB / 1.35 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.116, allocations: 0 / 1.35 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.116, allocations: 57 kB / 1.35 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.116, allocations: 1.656 kB / 1.35 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.116, allocations: 9.359 kB / 1.35 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.116, allocations: 3.938 kB / 1.35 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.116, allocations: 1.031 kB / 1.35 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/1.117, allocations: 368 kB / 1.35 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/1.117, allocations: 98.14 kB / 1.35 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/1.117, allocations: 9.391 kB / 1.35 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.117, allocations: 25.92 kB / 1.35 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/1.118, allocations: 20.22 kB / 1.35 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.118, allocations: 4.094 kB / 1.35 GB, free: 5.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001004/1.118, allocations: 107.2 kB / 1.35 GB, free: 5.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.118, allocations: 3.938 kB / 1.35 GB, free: 5.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003273/1.118, allocations: 61.11 kB / 1.35 GB, free: 5.746 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 (25): * Single equations (assignments): 25 * 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.001159/1.119, allocations: 0.9047 MB / 1.351 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007114/1.12, allocations: 230.1 kB / 1.351 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.12, allocations: 0 / 1.351 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/1.12, allocations: 121.1 kB / 1.352 GB, free: 4.816 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/1.121, allocations: 40.66 kB / 1.352 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/1.125, allocations: 2.289 MB / 1.354 GB, free: 2.996 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/1.125, allocations: 0.7541 MB / 1.355 GB, free: 2.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001179/1.125, allocations: 25.45 kB / 1.355 GB, free: 2.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/1.125, allocations: 73.36 kB / 1.355 GB, free: 2.184 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.125, allocations: 0 / 1.355 GB, free: 2.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/1.147, allocations: 3.617 MB / 1.358 GB, free: 468 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.86, allocations: 6.969 kB / 1.358 GB, free: 468 kB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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: 16.54030592396157]