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.001891/0.001891, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.003101/0.003101, allocations: 218.9 kB / 22.24 MB, free: 5.109 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.781 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.39/3.39, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002082/0.002082, allocations: 68.52 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002629/0.4187, allocations: 0.9329 MB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4201, allocations: 0.9104 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.4202, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.845e-05/0.4203, allocations: 15.8 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.4204, allocations: 27.73 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.4205, allocations: 51.94 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.4207, allocations: 172.1 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.4209, allocations: 77.05 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.421, allocations: 67.77 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.4211, allocations: 67.67 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.4212, allocations: 16 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.4212, allocations: 20 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.4212, allocations: 35.86 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.4213, allocations: 67.72 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4216, allocations: 223 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4216, allocations: 3.984 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4216, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4216, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 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.0007574/0.4223, allocations: 390 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4224, allocations: 8.031 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.4224, allocations: 58.73 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.4225, allocations: 20.78 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.4227, allocations: 150.6 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4227, allocations: 8.703 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4228, allocations: 16.38 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.4232, allocations: 180.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4233, allocations: 3.938 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.4233, allocations: 8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4233, allocations: 11.98 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.4238, allocations: 168.1 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.4246, allocations: 451.3 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.425, allocations: 134.5 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.4252, allocations: 84.78 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.4252, allocations: 7.938 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4253, allocations: 30.56 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.4253, allocations: 4 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000852/0.4261, allocations: 257.6 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4262, allocations: 55.41 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4263, allocations: 136.5 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4263, allocations: 25.7 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.4264, allocations: 132.2 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.4265, allocations: 39.64 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.4265, allocations: 29.72 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4267, allocations: 326.8 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.4269, allocations: 63.94 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4272, allocations: 98.39 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.4276, allocations: 168.8 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4276, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005274/0.4282, allocations: 197.5 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4282, allocations: 8 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4282, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4282, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.4284, allocations: 47.97 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4284, allocations: 7.984 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4286, allocations: 19.94 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4286, allocations: 8 kB / 1.369 GB, free: 7.926 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 (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.0001086/0.4287, allocations: 125.8 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4287, allocations: 11.95 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.4288, allocations: 16.72 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4288, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4288, allocations: 8 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4288, allocations: 0 / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.429, allocations: 212.5 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.429, allocations: 0 / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4292, allocations: 31.97 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4292, allocations: 0 / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4292, allocations: 8 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4292, allocations: 3.984 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4292, allocations: 0 / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.4298, allocations: 290.1 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.4298, allocations: 7.906 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.4299, allocations: 8 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.43, allocations: 19.91 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.4301, allocations: 15.97 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4301, allocations: 8 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.4301, allocations: 99.27 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4301, allocations: 0 / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002431/0.4304, allocations: 31.89 kB / 1.37 GB, free: 6.973 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 (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.0008799/0.4313, allocations: 0.8255 MB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.4318, allocations: 147.9 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4318, allocations: 3.938 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.432, allocations: 84.06 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.4324, allocations: 27.91 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.4352, allocations: 1.841 MB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4353, allocations: 102.8 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4354, allocations: 16.34 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.4355, allocations: 43.42 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.4355, allocations: 0 / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.4675, allocations: 3.311 MB / 1.376 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.95, allocations: 4.234 kB / 1.376 GB, free: 0.6406 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.301952553912997]