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.001897/0.001897, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001558/0.001558, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.016 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.34/3.34, allocations: 0.505 GB / 0.8101 GB, free: 22 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.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",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="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.002079/0.002079, allocations: 63.84 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4007, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002811/0.4035, allocations: 1.359 MB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.405, allocations: 1.03 MB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.4051, allocations: 11.94 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.4052, allocations: 31.59 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.4053, allocations: 31.66 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.4055, allocations: 119.9 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.4058, allocations: 340.5 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.4062, allocations: 174.4 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.4063, allocations: 139.5 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.4065, allocations: 135.4 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.4065, allocations: 51.98 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.4066, allocations: 44 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.4067, allocations: 83.77 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.4068, allocations: 155.3 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.4074, allocations: 0.5331 MB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4074, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4074, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.4074, allocations: 3.984 kB / 1.357 GB, free: 4.234 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001049/0.4085, allocations: 0.5056 MB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4085, allocations: 12.03 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.4087, allocations: 66.72 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.4087, allocations: 32.75 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.4091, allocations: 210.7 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.4091, allocations: 25.03 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.4091, allocations: 36.38 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.4098, allocations: 314.5 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4098, allocations: 7.922 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4098, allocations: 12 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4098, allocations: 8 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.4106, allocations: 286.4 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.4119, allocations: 0.8392 MB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.4126, allocations: 252.2 kB / 1.36 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.413, allocations: 129.2 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.413, allocations: 4 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.413, allocations: 42.44 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.413, allocations: 0 / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001007/0.414, allocations: 369.3 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.4141, allocations: 63.28 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4142, allocations: 135.2 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.4143, allocations: 29.7 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4144, allocations: 172.5 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.4145, allocations: 83.28 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.4145, allocations: 45.94 kB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4147, allocations: 318.8 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.415, allocations: 100.4 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.4154, allocations: 124.7 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.416, allocations: 235.3 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.416, allocations: 0 / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006666/0.4166, allocations: 277.3 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4167, allocations: 8 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4167, allocations: 0 / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4167, allocations: 4.062 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.4171, allocations: 67.89 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4171, allocations: 7.938 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4172, allocations: 35.8 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4173, allocations: 4 kB / 1.362 GB, free: 15.23 MB / 1.061 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.0001619/0.4174, allocations: 149.8 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.4175, allocations: 19.91 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.4175, allocations: 29.25 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4175, allocations: 7.938 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4175, allocations: 4 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4175, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.4179, allocations: 320.3 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4179, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.4182, allocations: 63.89 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4182, allocations: 0 / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4182, allocations: 12 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4182, allocations: 7.922 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4183, allocations: 0 / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.4189, allocations: 371.1 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.419, allocations: 19.83 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.419, allocations: 8 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4192, allocations: 23.86 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.4192, allocations: 23.95 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.4192, allocations: 4 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.772e-05/0.4193, allocations: 105.5 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4193, allocations: 0 / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002991/0.4196, allocations: 63.73 kB / 1.363 GB, free: 13.96 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 (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.001057/0.4207, allocations: 0.904 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007107/0.4214, allocations: 235.9 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4214, allocations: 0 / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.4217, allocations: 123.9 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4221, allocations: 27.92 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.4258, allocations: 2.271 MB / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.4263, allocations: 0.7514 MB / 1.367 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.726e-05/0.4264, allocations: 17.48 kB / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.4266, allocations: 79.41 kB / 1.367 GB, free: 9.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.4266, allocations: 0 / 1.367 GB, free: 9.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.4575, allocations: 3.782 MB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 4 kB / 1.371 GB, free: 5.793 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 18.791407962999983]