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.PIGain.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.001619/0.001619, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002073/0.002073, allocations: 219.3 kB / 22.24 MB, free: 5.258 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.801 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.257/3.257, allocations: 0.505 GB / 0.8101 GB, free: 23.64 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.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.002126/0.002126, allocations: 70.02 kB / 1.177 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 180.2 MB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002648/0.4145, allocations: 0.9255 MB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.4159, allocations: 0.9132 MB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.416, allocations: 0 / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.428e-05/0.416, allocations: 19.8 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.4162, allocations: 19.8 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.4163, allocations: 47.95 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.4166, allocations: 176.2 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.4168, allocations: 81.03 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4169, allocations: 67.72 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.4171, allocations: 79.62 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.4171, allocations: 20 kB / 1.355 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.68e-05/0.4171, allocations: 19.94 kB / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.4172, allocations: 39.91 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.4172, allocations: 67.66 kB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.4175, allocations: 219.1 kB / 1.355 GB, free: 5.293 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4175, allocations: 0 / 1.355 GB, free: 5.293 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4175, allocations: 0 / 1.355 GB, free: 5.293 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.4175, allocations: 0 / 1.355 GB, free: 5.293 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007815/0.4183, allocations: 394 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4184, allocations: 12.03 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.4184, allocations: 54.73 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.4185, allocations: 20.8 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4187, allocations: 156.1 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4187, allocations: 12.7 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4188, allocations: 16.38 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.4192, allocations: 184.7 kB / 1.356 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4192, allocations: 7.875 kB / 1.356 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4193, allocations: 8 kB / 1.356 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4193, allocations: 4 kB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.4198, allocations: 176.1 kB / 1.356 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.4206, allocations: 451.3 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.4211, allocations: 138.4 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.4213, allocations: 80.8 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4213, allocations: 0 / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4214, allocations: 42.55 kB / 1.357 GB, free: 3.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.4214, allocations: 4 kB / 1.357 GB, free: 3.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008497/0.4222, allocations: 250.3 kB / 1.357 GB, free: 3.184 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.4223, allocations: 55.41 kB / 1.357 GB, free: 3.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4224, allocations: 130.1 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4225, allocations: 25.7 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4226, allocations: 132.2 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4226, allocations: 39.64 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.4227, allocations: 37.7 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4228, allocations: 318.8 kB / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.4231, allocations: 67.94 kB / 1.358 GB, free: 2.344 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.4233, allocations: 100.4 kB / 1.358 GB, free: 2.238 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.4238, allocations: 161 kB / 1.358 GB, free: 2.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4238, allocations: 4 kB / 1.358 GB, free: 2.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006118/0.4244, allocations: 205.5 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4244, allocations: 4 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4244, allocations: 0 / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4245, allocations: 4 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.4247, allocations: 40.03 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4247, allocations: 3.938 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4248, allocations: 23.92 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4248, allocations: 8 kB / 1.359 GB, free: 1.781 MB / 1.045 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 (15): * Single equations (assignments): 15 * 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.0002436/0.4251, allocations: 129.7 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.4251, allocations: 7.953 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.4251, allocations: 12.78 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4252, allocations: 8 kB / 1.359 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4252, allocations: 3.984 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4252, allocations: 0 / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.4254, allocations: 212.5 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4254, allocations: 0 / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.4256, allocations: 35.97 kB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4256, allocations: 4 kB / 1.359 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4256, allocations: 0 / 1.359 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4256, allocations: 0 / 1.359 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4256, allocations: 3.938 kB / 1.359 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.4263, allocations: 294.2 kB / 1.359 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.4263, allocations: 7.953 kB / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4263, allocations: 0 / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4264, allocations: 23.97 kB / 1.359 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.4265, allocations: 7.984 kB / 1.359 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.4265, allocations: 12 kB / 1.359 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.4266, allocations: 95.27 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4266, allocations: 0 / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002597/0.4269, allocations: 35.89 kB / 1.36 GB, free: 0.8398 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 (13): * Single equations (assignments): 13 * 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.00097/0.4278, allocations: 0.8294 MB / 1.36 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.4284, allocations: 155.8 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4284, allocations: 0 / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.4286, allocations: 92 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.429, allocations: 15.98 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.4321, allocations: 1.834 MB / 1.362 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4323, allocations: 98.8 kB / 1.362 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.53e-05/0.4323, allocations: 16.34 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.4324, allocations: 47.42 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4324, allocations: 3.938 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.4644, allocations: 3.368 MB / 1.366 GB, free: 10.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.77, allocations: 5.562 kB / 1.366 GB, free: 10.43 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_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_BaseClasses_Validation_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.03227678098483]