Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.001543/0.001543, 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.00193/0.00193, allocations: 217.2 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002116/0.002116, allocations: 60.69 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.396, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002749/0.3988, allocations: 0.8195 MB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.4001, allocations: 0.8783 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.4002, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.4003, allocations: 7.875 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.4004, allocations: 19.73 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.835e-05/0.4005, allocations: 31.97 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.4007, allocations: 119.7 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.4008, allocations: 41.27 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.401, allocations: 43.86 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.401, allocations: 51.77 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.4011, allocations: 12 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.4011, allocations: 12 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.4011, allocations: 23.92 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.4012, allocations: 43.78 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.4014, allocations: 143.6 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4014, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.208e-06/0.4014, allocations: 4 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4014, allocations: 0 / 1.328 GB, free: 15.19 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000747/0.4022, allocations: 358 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4022, allocations: 8.031 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.4023, allocations: 38.75 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.4023, allocations: 8.891 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4026, allocations: 146.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4026, allocations: 8.562 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4026, allocations: 8.375 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.403, allocations: 130.9 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.403, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.403, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.403, allocations: 4 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.4035, allocations: 131.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.4042, allocations: 351.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.4045, allocations: 106.6 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.4048, allocations: 60.8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4048, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4048, allocations: 34.56 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4048, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007707/0.4056, allocations: 217.6 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4056, allocations: 55.34 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4058, allocations: 128 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.4058, allocations: 29.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.4059, allocations: 112 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.4059, allocations: 27.75 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.406, allocations: 21.72 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4061, allocations: 318.8 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.4064, allocations: 59.94 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4066, allocations: 69.59 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.407, allocations: 121.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.407, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004964/0.4075, allocations: 157.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4075, allocations: 8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4075, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4076, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.4077, allocations: 35.94 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4077, allocations: 7.938 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4079, allocations: 19.97 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4079, allocations: 8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 9.953e-05/0.408, allocations: 118.4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.408, allocations: 7.953 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.408, allocations: 12.72 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.408, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.408, allocations: 7.922 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.408, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.4083, allocations: 164.7 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4083, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.4084, allocations: 27.97 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4084, allocations: 7.922 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4085, allocations: 7.938 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4085, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4085, allocations: 3.938 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.409, allocations: 251.4 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.409, allocations: 11.89 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.409, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4092, allocations: 23.97 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.4092, allocations: 15.92 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4092, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.219e-05/0.4093, allocations: 99.27 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4093, allocations: 0 / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002415/0.4096, allocations: 20 kB / 1.332 GB, free: 11.4 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 (8): * Single equations (assignments): 8 * 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.0009328/0.4105, allocations: 0.7826 MB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.411, allocations: 124.4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.411, allocations: 192 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.4112, allocations: 64 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.4116, allocations: 24.17 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.4143, allocations: 1.648 MB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.414e-05/0.4144, allocations: 88.89 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.658e-05/0.4144, allocations: 4 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.4145, allocations: 35.42 kB / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.4145, allocations: 0 / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.4455, allocations: 3.117 MB / 1.337 GB, free: 5.578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 3.984 kB / 1.337 GB, free: 5.574 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable L.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv. Warning: Get data of variable L.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.79693658798351]