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.001785/0.001785, allocations: 99.75 kB / 18.95 MB, free: 2.832 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: 216 kB / 22.25 MB, free: 5.105 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.805 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.421/3.421, allocations: 0.505 GB / 0.8101 GB, free: 23.52 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: 70.86 kB / 1.177 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4055, allocations: 180.2 MB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003039/0.4085, allocations: 1.207 MB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4101, allocations: 1.026 MB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4102, allocations: 4 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.322e-05/0.4103, allocations: 27.61 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.4104, allocations: 35.66 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.4106, allocations: 119.9 kB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.411, allocations: 348.4 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.4113, allocations: 186.4 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.4115, allocations: 127.6 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.4117, allocations: 143.3 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.4117, allocations: 48 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.4118, allocations: 44 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.4119, allocations: 79.83 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.412, allocations: 123.5 kB / 1.356 GB, free: 4.426 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.4126, allocations: 0.537 MB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4126, allocations: 0 / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4126, allocations: 0 / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4126, allocations: 4 kB / 1.357 GB, free: 3.883 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.0009497/0.4136, allocations: 0.5017 MB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4136, allocations: 8.031 kB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.759e-05/0.4137, allocations: 70.72 kB / 1.357 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.4138, allocations: 36.69 kB / 1.357 GB, free: 3.227 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.4141, allocations: 216.9 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.4142, allocations: 21.03 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.4142, allocations: 32.38 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.4149, allocations: 318.6 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4149, allocations: 3.938 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.415, allocations: 16 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.415, allocations: 8 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.4157, allocations: 282.4 kB / 1.358 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.4169, allocations: 0.7458 MB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.4176, allocations: 258.7 kB / 1.359 GB, free: 1.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.4179, allocations: 127.8 kB / 1.359 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.418, allocations: 4 kB / 1.359 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.418, allocations: 38.5 kB / 1.359 GB, free: 1.094 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.418, allocations: 3.938 kB / 1.359 GB, free: 1.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.0009952/0.419, allocations: 365.9 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.419, allocations: 59.34 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4192, allocations: 139.5 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4192, allocations: 29.7 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4193, allocations: 168.5 kB / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.4194, allocations: 87.22 kB / 1.36 GB, free: 228 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.4195, allocations: 49.94 kB / 1.36 GB, free: 168 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4197, allocations: 326.8 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.42, allocations: 96.39 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.4203, allocations: 124.6 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.4209, allocations: 242.5 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4209, allocations: 0 / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007231/0.4216, allocations: 277.3 kB / 1.361 GB, free: 15.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4217, allocations: 8 kB / 1.361 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4217, allocations: 0 / 1.361 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4217, allocations: 0 / 1.361 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.422, allocations: 71.83 kB / 1.361 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.422, allocations: 4 kB / 1.361 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.4221, allocations: 35.92 kB / 1.361 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.4221, allocations: 4 kB / 1.361 GB, free: 14.97 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.0001635/0.4223, allocations: 153.8 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.4223, allocations: 11.91 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.4224, allocations: 29.2 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.4224, allocations: 7.938 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4224, allocations: 0 / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4224, allocations: 0 / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.4229, allocations: 292.5 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4229, allocations: 0 / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.4232, allocations: 59.95 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4232, allocations: 0 / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4232, allocations: 4 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4232, allocations: 7.938 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4232, allocations: 3.984 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.424, allocations: 375.3 kB / 1.362 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.424, allocations: 15.91 kB / 1.362 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.424, allocations: 7.938 kB / 1.362 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4242, allocations: 27.91 kB / 1.362 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.4243, allocations: 15.97 kB / 1.362 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4243, allocations: 7.984 kB / 1.362 GB, free: 13.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.4244, allocations: 105 kB / 1.362 GB, free: 13.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 1.362 GB, free: 13.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003163/0.4247, allocations: 63.73 kB / 1.362 GB, free: 13.74 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.001109/0.4258, allocations: 0.9036 MB / 1.363 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.4265, allocations: 235.7 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4265, allocations: 0 / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.4268, allocations: 120.7 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.4272, allocations: 42.02 kB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.4309, allocations: 2.267 MB / 1.366 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.431, allocations: 145.7 kB / 1.366 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.812e-05/0.4311, allocations: 17.48 kB / 1.366 GB, free: 9.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.4312, allocations: 79.41 kB / 1.366 GB, free: 9.797 MB / 1.061 GB Notification: Performance of SimCode: time 7.51e-07/0.4312, allocations: 0 / 1.366 GB, free: 9.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.4651, allocations: 4.211 MB / 1.37 GB, free: 5.762 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.76, allocations: 3.938 kB / 1.37 GB, free: 5.758 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: 19.098671387007926]